commit b2fec01b7e8d0f65d1d606396a922703f326e26b Author: Stedd Date: Thu Dec 1 08:07:56 2022 +0100 Initial commit diff --git a/.idea/.idea.AoC_2022/.idea/.gitignore b/.idea/.idea.AoC_2022/.idea/.gitignore new file mode 100644 index 0000000..c9c6cb1 --- /dev/null +++ b/.idea/.idea.AoC_2022/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/contentModel.xml +/modules.xml +/.idea.AoC_2022.iml +/projectSettingsUpdater.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.AoC_2022/.idea/indexLayout.xml b/.idea/.idea.AoC_2022/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.AoC_2022/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.AoC_2022/.idea/vcs.xml b/.idea/.idea.AoC_2022/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/.idea.AoC_2022/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/AoC_2022.csproj b/AoC_2022.csproj new file mode 100644 index 0000000..b9de063 --- /dev/null +++ b/AoC_2022.csproj @@ -0,0 +1,10 @@ + + + + Exe + net6.0 + enable + enable + + + diff --git a/AoC_2022.sln b/AoC_2022.sln new file mode 100644 index 0000000..2a27365 --- /dev/null +++ b/AoC_2022.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AoC_2022", "AoC_2022.csproj", "{87852E9C-9744-407D-BE59-D95418D09DAA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {87852E9C-9744-407D-BE59-D95418D09DAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {87852E9C-9744-407D-BE59-D95418D09DAA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {87852E9C-9744-407D-BE59-D95418D09DAA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {87852E9C-9744-407D-BE59-D95418D09DAA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/Luker.cs b/Luker.cs new file mode 100644 index 0000000..ecd4446 --- /dev/null +++ b/Luker.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Numerics; +using System.Text; +using System.Threading.Tasks; + +namespace AoC_2021 +{ + class Luker + { + public void Luke1A() + { + /* +Task Text + */ + // string path = ""; + // string[] measurements = System.IO.File.ReadAllLines(path); + + int sum = 0; + for (int i = 0; i < 500; i++) + { + sum = i * 10; + } + + Console.WriteLine(sum); + } + } +} \ No newline at end of file diff --git a/Program.cs b/Program.cs new file mode 100644 index 0000000..a3c3c6e --- /dev/null +++ b/Program.cs @@ -0,0 +1,20 @@ +using System; + +namespace AoC_2021 +{ + class Program + { + static void Main(string[] args) + { + Console.WriteLine($"Starting"); + var watch = System.Diagnostics.Stopwatch.StartNew(); + + Luker luker = new(); + luker.Luke1A(); + + watch.Stop(); + Console.WriteLine($"Running time: {watch.ElapsedMilliseconds}ms"); + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/bin/Debug/net6.0/AoC_2022.deps.json b/bin/Debug/net6.0/AoC_2022.deps.json new file mode 100644 index 0000000..c3e4f49 --- /dev/null +++ b/bin/Debug/net6.0/AoC_2022.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "AoC_2022/1.0.0": { + "runtime": { + "AoC_2022.dll": {} + } + } + } + }, + "libraries": { + "AoC_2022/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/bin/Debug/net6.0/AoC_2022.dll b/bin/Debug/net6.0/AoC_2022.dll new file mode 100644 index 0000000..d577a3c Binary files /dev/null and b/bin/Debug/net6.0/AoC_2022.dll differ diff --git a/bin/Debug/net6.0/AoC_2022.exe b/bin/Debug/net6.0/AoC_2022.exe new file mode 100644 index 0000000..25a7a79 Binary files /dev/null and b/bin/Debug/net6.0/AoC_2022.exe differ diff --git a/bin/Debug/net6.0/AoC_2022.pdb b/bin/Debug/net6.0/AoC_2022.pdb new file mode 100644 index 0000000..99b5677 Binary files /dev/null and b/bin/Debug/net6.0/AoC_2022.pdb differ diff --git a/bin/Debug/net6.0/AoC_2022.runtimeconfig.json b/bin/Debug/net6.0/AoC_2022.runtimeconfig.json new file mode 100644 index 0000000..4986d16 --- /dev/null +++ b/bin/Debug/net6.0/AoC_2022.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + } + } +} \ No newline at end of file diff --git a/obj/AoC_2022.csproj.nuget.dgspec.json b/obj/AoC_2022.csproj.nuget.dgspec.json new file mode 100644 index 0000000..ce99e8f --- /dev/null +++ b/obj/AoC_2022.csproj.nuget.dgspec.json @@ -0,0 +1,67 @@ +{ + "format": 1, + "restore": { + "G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj": {} + }, + "projects": { + "G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj", + "projectName": "AoC_2022", + "projectPath": "G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj", + "packagesPath": "C:\\Users\\Tor Andre\\.nuget\\packages\\", + "outputPath": "G:\\Hobby\\Programmering\\AoC_2022\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Tor Andre\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/obj/AoC_2022.csproj.nuget.g.props b/obj/AoC_2022.csproj.nuget.g.props new file mode 100644 index 0000000..77ba268 --- /dev/null +++ b/obj/AoC_2022.csproj.nuget.g.props @@ -0,0 +1,16 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Tor Andre\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.3.0 + + + + + + \ No newline at end of file diff --git a/obj/AoC_2022.csproj.nuget.g.targets b/obj/AoC_2022.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/obj/AoC_2022.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs b/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs new file mode 100644 index 0000000..36203c7 --- /dev/null +++ b/obj/Debug/net6.0/.NETCoreApp,Version=v6.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")] diff --git a/obj/Debug/net6.0/AoC_2022.AssemblyInfo.cs b/obj/Debug/net6.0/AoC_2022.AssemblyInfo.cs new file mode 100644 index 0000000..c6148f9 --- /dev/null +++ b/obj/Debug/net6.0/AoC_2022.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("AoC_2022")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("AoC_2022")] +[assembly: System.Reflection.AssemblyTitleAttribute("AoC_2022")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/obj/Debug/net6.0/AoC_2022.AssemblyInfoInputs.cache b/obj/Debug/net6.0/AoC_2022.AssemblyInfoInputs.cache new file mode 100644 index 0000000..0b9a6b4 --- /dev/null +++ b/obj/Debug/net6.0/AoC_2022.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +fec99875011fa077da38aae8c88dd0166f42ca1a diff --git a/obj/Debug/net6.0/AoC_2022.GeneratedMSBuildEditorConfig.editorconfig b/obj/Debug/net6.0/AoC_2022.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..c47860f --- /dev/null +++ b/obj/Debug/net6.0/AoC_2022.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,10 @@ +is_global = true +build_property.TargetFramework = net6.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = AoC_2022 +build_property.ProjectDir = G:\Hobby\Programmering\AoC_2022\ diff --git a/obj/Debug/net6.0/AoC_2022.GlobalUsings.g.cs b/obj/Debug/net6.0/AoC_2022.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/obj/Debug/net6.0/AoC_2022.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/obj/Debug/net6.0/AoC_2022.assets.cache b/obj/Debug/net6.0/AoC_2022.assets.cache new file mode 100644 index 0000000..405c724 Binary files /dev/null and b/obj/Debug/net6.0/AoC_2022.assets.cache differ diff --git a/obj/Debug/net6.0/AoC_2022.csproj.AssemblyReference.cache b/obj/Debug/net6.0/AoC_2022.csproj.AssemblyReference.cache new file mode 100644 index 0000000..0b96e34 Binary files /dev/null and b/obj/Debug/net6.0/AoC_2022.csproj.AssemblyReference.cache differ diff --git a/obj/Debug/net6.0/AoC_2022.csproj.CoreCompileInputs.cache b/obj/Debug/net6.0/AoC_2022.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..012b07f --- /dev/null +++ b/obj/Debug/net6.0/AoC_2022.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +e9696c5730feecf9f6d13e0c82045e5a70e70a32 diff --git a/obj/Debug/net6.0/AoC_2022.csproj.FileListAbsolute.txt b/obj/Debug/net6.0/AoC_2022.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..393e29d --- /dev/null +++ b/obj/Debug/net6.0/AoC_2022.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +G:\Hobby\Programmering\AoC_2022\bin\Debug\net6.0\AoC_2022.exe +G:\Hobby\Programmering\AoC_2022\bin\Debug\net6.0\AoC_2022.deps.json +G:\Hobby\Programmering\AoC_2022\bin\Debug\net6.0\AoC_2022.runtimeconfig.json +G:\Hobby\Programmering\AoC_2022\bin\Debug\net6.0\AoC_2022.dll +G:\Hobby\Programmering\AoC_2022\bin\Debug\net6.0\AoC_2022.pdb +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\AoC_2022.csproj.AssemblyReference.cache +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\AoC_2022.GeneratedMSBuildEditorConfig.editorconfig +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\AoC_2022.AssemblyInfoInputs.cache +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\AoC_2022.AssemblyInfo.cs +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\AoC_2022.csproj.CoreCompileInputs.cache +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\AoC_2022.dll +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\refint\AoC_2022.dll +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\AoC_2022.pdb +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\AoC_2022.genruntimeconfig.cache +G:\Hobby\Programmering\AoC_2022\obj\Debug\net6.0\ref\AoC_2022.dll diff --git a/obj/Debug/net6.0/AoC_2022.dll b/obj/Debug/net6.0/AoC_2022.dll new file mode 100644 index 0000000..d577a3c Binary files /dev/null and b/obj/Debug/net6.0/AoC_2022.dll differ diff --git a/obj/Debug/net6.0/AoC_2022.genruntimeconfig.cache b/obj/Debug/net6.0/AoC_2022.genruntimeconfig.cache new file mode 100644 index 0000000..c3cdbd2 --- /dev/null +++ b/obj/Debug/net6.0/AoC_2022.genruntimeconfig.cache @@ -0,0 +1 @@ +e745515d4c723e99b82591db9aad656195e7306d diff --git a/obj/Debug/net6.0/AoC_2022.pdb b/obj/Debug/net6.0/AoC_2022.pdb new file mode 100644 index 0000000..99b5677 Binary files /dev/null and b/obj/Debug/net6.0/AoC_2022.pdb differ diff --git a/obj/Debug/net6.0/apphost.exe b/obj/Debug/net6.0/apphost.exe new file mode 100644 index 0000000..25a7a79 Binary files /dev/null and b/obj/Debug/net6.0/apphost.exe differ diff --git a/obj/Debug/net6.0/ref/AoC_2022.dll b/obj/Debug/net6.0/ref/AoC_2022.dll new file mode 100644 index 0000000..08a5788 Binary files /dev/null and b/obj/Debug/net6.0/ref/AoC_2022.dll differ diff --git a/obj/Debug/net6.0/refint/AoC_2022.dll b/obj/Debug/net6.0/refint/AoC_2022.dll new file mode 100644 index 0000000..08a5788 Binary files /dev/null and b/obj/Debug/net6.0/refint/AoC_2022.dll differ diff --git a/obj/project.assets.json b/obj/project.assets.json new file mode 100644 index 0000000..f78ff74 --- /dev/null +++ b/obj/project.assets.json @@ -0,0 +1,73 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\Tor Andre\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj", + "projectName": "AoC_2022", + "projectPath": "G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj", + "packagesPath": "C:\\Users\\Tor Andre\\.nuget\\packages\\", + "outputPath": "G:\\Hobby\\Programmering\\AoC_2022\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Tor Andre\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/obj/project.nuget.cache b/obj/project.nuget.cache new file mode 100644 index 0000000..dfb0916 --- /dev/null +++ b/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "C7oO1vFje3/Rpg9y9jGmBfc4enpCPJW3f3Whrd3TcRG2JwiZfwXmPkVS0ywr7tbBOrHXegOMrfLydLcnhEn5hA==", + "success": true, + "projectFilePath": "G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/obj/project.packagespec.json b/obj/project.packagespec.json new file mode 100644 index 0000000..085e55a --- /dev/null +++ b/obj/project.packagespec.json @@ -0,0 +1 @@ +"restore":{"projectUniqueName":"G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj","projectName":"AoC_2022","projectPath":"G:\\Hobby\\Programmering\\AoC_2022\\AoC_2022.csproj","outputPath":"G:\\Hobby\\Programmering\\AoC_2022\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net6.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net6.0":{"targetAlias":"net6.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net6.0":{"targetAlias":"net6.0","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json"}} \ No newline at end of file diff --git a/obj/rider.project.restore.info b/obj/rider.project.restore.info new file mode 100644 index 0000000..27b9c63 --- /dev/null +++ b/obj/rider.project.restore.info @@ -0,0 +1 @@ +16698780636591820 \ No newline at end of file