Test Your Knowledge

ConsoleApp_Lesson2 Quiz

Answer all questions to test your understanding

1 What is the difference between Console.Write() and Console.WriteLine()?
2 Which method is used to read user input from the console?
3 What is string interpolation in C#?
4 Which method should you use to safely convert a string to an integer?
5 How do you change the text color in a console application?