Make a ton of VS-recommended changes. Sure, why not.

This commit is contained in:
2020-12-22 13:04:55 -06:00
parent f420af35cc
commit 0a3fe365d0
17 changed files with 56 additions and 53 deletions

4
Q08.cs
View File

@ -7,7 +7,7 @@ namespace _2020
{
class Q08
{
static List<Tuple<string, int>> instructions = new List<Tuple<string, int>>();
static readonly List<Tuple<string, int>> instructions = new List<Tuple<string, int>>();
public static void Go()
{
@ -21,7 +21,7 @@ namespace _2020
foreach (var line in File.ReadAllLines("08input.txt"))
{
var parts = line.Split(' ');
if (parts.Count() != 2)
if (parts.Length != 2)
{
throw new Exception("malformed input");
}