| using System;
class SomeClass{
public static void Main(){
string name; // A variable name of type string
Console.WriteLine("Type your name");
name = Console.ReadLine();
Console.WriteLine("Hi, your name is " + name);
}
} |
|
| | Typical overall program structure of a C# Program.
|