Console.Write("Enter username: "); string userName = Console.ReadLine(); Console.WriteLine("Username is: " + userName); // OUTPUT: // Enter username: example username // Username is: example username