From bb45f0aed8cbfb8ccceee087c7845e49aa92d53d Mon Sep 17 00:00:00 2001 From: jfrancis2 Date: Fri, 20 Jan 2017 20:34:22 +0000 Subject: [PATCH] [C#] Challenge 0 (Unreviewed) (#440) --- challenge_0/csharp/jfrancis2/README.md | 14 ++++++++++++++ challenge_0/csharp/jfrancis2/src/hello.cs | 13 +++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 challenge_0/csharp/jfrancis2/README.md create mode 100644 challenge_0/csharp/jfrancis2/src/hello.cs diff --git a/challenge_0/csharp/jfrancis2/README.md b/challenge_0/csharp/jfrancis2/README.md new file mode 100644 index 000000000..4abe81fb9 --- /dev/null +++ b/challenge_0/csharp/jfrancis2/README.md @@ -0,0 +1,14 @@ +# Challenge 0 - Hello World +###### C# + +### 1. Approach to Solving the problem + +Output text "Hello World" + +### 2. How to compile and run this code + +From the /src directory, use `csc.exe hello.cs` + +### 3. How this program works + +Read the text! Hi :) \ No newline at end of file diff --git a/challenge_0/csharp/jfrancis2/src/hello.cs b/challenge_0/csharp/jfrancis2/src/hello.cs new file mode 100644 index 000000000..1e51c6e68 --- /dev/null +++ b/challenge_0/csharp/jfrancis2/src/hello.cs @@ -0,0 +1,13 @@ +using System; +namespace HelloWorld +{ + class Hello + { + static void Main() + { + Console.WriteLine("Hello World!"); + Console.WriteLine("Press any key to exit."); + Console.ReadKey(); + } + } +} \ No newline at end of file