Answers for "c# code in a input tag"

C#
10

c# input

Console.Write("words");
input = Console.ReadLine();
Posted by: Guest on April-10-2020
0

c# input

// Type your username and press enter
Console.Write("Type your username: ");
// Create a string variable and get user input from the keyboard and store it in the variable
String name = Console.ReadLine();
// Print the value of the variable (userName), which will display the input value
Console.WriteLine(name);
// or try this              
// Type your username and press enter
Console.Write("Type your username: ");
//Prints the username
Console.WriteLine(Console.ReadLine());
Posted by: Guest on December-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language