Update README.md

This commit is contained in:
Stefan Forstenlechner 2021-12-01 21:13:26 +01:00
parent 45c8a0df7f
commit c89423f3b4
1 changed files with 12 additions and 1 deletions

View File

@ -1,10 +1,21 @@
# Advent of Code 2021
This year C# only.
## How to use
All source files use [top-level statements](https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9#top-level-statements).
To run a specific file, uncomment the first line that contains a preprocessor directive and in turn allows compilation of the code below.
Before moving to the next file, comment out the first line again, as only one file is allowed to have top-level statements.
by Stefan Forstenlechner
### Requirements
C# 9.0 and .NET 5
### Execute
```shell
dotnet run
```
by Stefan Forstenlechner