Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Swithc Case: Seletion Statement With Choice Of Constants

DZone's Guide to

Swithc Case: Seletion Statement With Choice Of Constants

·
Free Resource
Swithc case: Selection statement with choice of constants


        int standard = 10;
	switch (standard)
	{
	    case 11:
		Console.WriteLine("Standard Eleven");
		break;
	    case 10:
		Console.WriteLine("Standard Ten");
		break;
	}
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}