C#C
C#3y ago
Ronnie

✅ User input

using System;

namespace CSharp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("What is your name?: ");

            string name = Console.ReadLine();

            Console.WriteLine("Your username is " + name);

        }
    }
}
Idk VScode wont print out their name in the debug console
image.png
Was this page helpful?