Search code examples
c#raw-input

What is the C# equivalent of Rawinput in Python?


What is the C# equivalent of Rawinput in Python?

How do I read user input in a C# Console Application?


Solution

  • Use this

    Console.ReadLine()
    

    or for one character

    Console.ReadKey()