Readd Lesson 1 Task 2 correctly, add .gitignore

This commit is contained in:
Stanislav Mykhailenko 2023-03-06 13:24:47 +02:00
parent 9c31c5687c
commit cc8603e472
GPG key ID: 1E95E66A9C9D6A36
3 changed files with 19 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
obj/
bin/
*.vs

View file

@ -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: ");

View 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>