From cc8603e472ed4d42b7b3527c4d796f3a1ec906cd Mon Sep 17 00:00:00 2001 From: Stanislav Mykhailenko Date: Mon, 6 Mar 2023 13:24:47 +0200 Subject: [PATCH] Readd Lesson 1 Task 2 correctly, add .gitignore --- .gitignore | 3 +++ Lesson_1/{ => Task_2}/Program.cs | 6 ++++++ Lesson_1/Task_2/Task_2.csproj | 10 ++++++++++ 3 files changed, 19 insertions(+) create mode 100644 .gitignore rename Lesson_1/{ => Task_2}/Program.cs (64%) create mode 100644 Lesson_1/Task_2/Task_2.csproj diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ebf5462 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +obj/ +bin/ +*.vs diff --git a/Lesson_1/Program.cs b/Lesson_1/Task_2/Program.cs similarity index 64% rename from Lesson_1/Program.cs rename to Lesson_1/Task_2/Program.cs index 9256163..9dc46ec 100644 --- a/Lesson_1/Program.cs +++ b/Lesson_1/Task_2/Program.cs @@ -1,3 +1,9 @@ +/* +* Lesson 1 Task 2: get a number and add 10 to it +* Author: Stanislav Mykhailenko +* License: Unlicense +*/ + int number; Console.Write("Enter a number: "); diff --git a/Lesson_1/Task_2/Task_2.csproj b/Lesson_1/Task_2/Task_2.csproj new file mode 100644 index 0000000..f02677b --- /dev/null +++ b/Lesson_1/Task_2/Task_2.csproj @@ -0,0 +1,10 @@ + + + + Exe + net7.0 + enable + enable + + +