Add AoC 2026 project templates
This commit is contained in:
1 parent
5e3bb81140
commit
132f8db999
7 files changed
+220
No files matched your search
@@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AoC_2026\AoC_2026.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,12 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using System.Globalization;
|
||||
using AoC_2026;
|
||||
|
||||
var rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
|
||||
|
||||
var day01 = new Day01();
|
||||
string day01Path = @$"{rootPath}\AoC-PuzzleInputs\2026\Prod\day01.txt";
|
||||
Console.WriteLine(day01.SolvePart1(day01Path));
|
||||
//Console.WriteLine(day01.SolvePart2(day01Path));
|
||||
Console.WriteLine();
|
||||
Reference in new issue
Block a user