Answers for "change case c#"

C#
0

C# Switch and case

int number = 2;

switch(number)
{
	case 1:
		Console.WriteLine("Number is 1");
		break;
	case 2:
		Console.WriteLine("Number is 2");
		break;
}
Posted by: Guest on October-02-2021

C# Answers by Framework

Browse Popular Code Answers by Language