adventofcode/2020/Program.cs

26 lines
552 B
C#
Raw Permalink Normal View History

using System;
using static System.Console;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
namespace AdventOfCode {
public class Util {
public static string RootDir =
Environment.GetEnvironmentVariable("HOME") + "/src/adventofcode/2020/";
public static List<int> ReadInts(string filename) {
string[] lines = File.ReadAllLines(filename);
2020-12-01 18:08:02 +00:00
return lines.Select(int.Parse).ToList();
}
}
public class Program {
static void Main(string[] args) {
2020-12-07 18:59:51 +00:00
Day07.Test();
}
}
}