Readd Lesson 1 Task 2 correctly, add .gitignore
This commit is contained in:
parent
9c31c5687c
commit
cc8603e472
3 changed files with 19 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
obj/
|
||||||
|
bin/
|
||||||
|
*.vs
|
|
@ -1,3 +1,9 @@
|
||||||
|
/*
|
||||||
|
* Lesson 1 Task 2: get a number and add 10 to it
|
||||||
|
* Author: Stanislav Mykhailenko
|
||||||
|
* License: Unlicense
|
||||||
|
*/
|
||||||
|
|
||||||
int number;
|
int number;
|
||||||
|
|
||||||
Console.Write("Enter a number: ");
|
Console.Write("Enter a number: ");
|
10
Lesson_1/Task_2/Task_2.csproj
Normal file
10
Lesson_1/Task_2/Task_2.csproj
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
Reference in a new issue