2021aoc/README.md

22 lines
558 B
Markdown

# 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.
### Requirements
C# 10.0 and .NET 6
### Execute
```shell
dotnet run
```
by Stefan Forstenlechner