23 lines
461 B
C#
23 lines
461 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.IO;
|
|
|
|
namespace AdvendOfCode2023
|
|
{
|
|
public class FileReader
|
|
{
|
|
|
|
public static List<string> Input(string day)
|
|
{
|
|
string fileLocation = @"..\..\..\inputs\" + day + ".txt";
|
|
|
|
List<string> lines = new List<string>(File.ReadLines(fileLocation));
|
|
return lines;
|
|
}
|
|
|
|
}
|
|
}
|