Answers for "how to make while loop in c# until something happen"

C#
5

do while loop in c#

do {
  Console.WriteLine("Emter the magic word");
  magic_string = Console.ReadLine();
  if(magic_string != "please");{
	 Console.WriteLine("{0} is not the corret magic word try again:- ",magic_string );
  }
}while ( magic_string != "please");
Posted by: Guest on October-30-2021

Code answers related to "how to make while loop in c# until something happen"

C# Answers by Framework

Browse Popular Code Answers by Language