Answers for "trygetvalue c#"

C#
0

trygetvalue c#

//validation
       
  while(!(jukeBoxSongs.TryGetValue(userInput,out user)))
   {
     Console.WriteLine("tell the user what they did wrong");
     Console.WriteLine(" restate the question");
     userInput = Console.ReadLine();//catch the users response with the 
    //same string var you used before 

    }
Posted by: Guest on October-18-2020

C# Answers by Framework

Browse Popular Code Answers by Language