input box c# code example
Example 1: how to make an input in c#
string myName;
Console.WriteLine("Please, enter your full name here: ");
myName = Console.ReadLine();
Console.WriteLine("Hello, Mr. " + myName + "!");
Console.Key();
Console.WriteLine("Please, enter your full name: ");
string myName = Console.ReadLine();
Console.WriteLine("Hello, Mr. " + myName + "!");
Console.ReadKey();
Example 2: c# input
Console.Write("words");
input = Console.ReadLine();
Example 3: inputbox c#
public static string InputBox (string Prompt, string Title = "", string DefaultResponse = "", int XPos = -1, int YPos = -1);