Created
November 20, 2014 13:23
-
-
Save stevecooperorg/af4e96159d6dbb64ec7b to your computer and use it in GitHub Desktop.
C# lesson 1a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace HelloPerson | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("What is your name?"); | |
string name; | |
name = Console.ReadLine(); | |
string greeting; | |
greeting = "Hello, " + name; | |
Console.WriteLine(greeting); | |
Console.ReadLine(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment