Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# write text before user input

Console.Write("Enter username: ");
string userName = Console.ReadLine();
Console.WriteLine("Username is: " + userName);
// OUTPUT:
// Enter username: example username
// Username is: example username
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #write #text #user #input
ADD COMMENT
Topic
Name
8+6 =