summaryrefslogtreecommitdiffstats
path: root/IO/FileReader.cs
blob: 12aa12b52b744b6750f5159ed445bf17d9c35506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
using System.IO;
using Graph.Interfaces;

namespace Graph.IO
{    
    public class FileReader : IFileReader
    {
        public string[] Lines { get; }

        public FileReader(string filename)
        {
            Lines = File.ReadAllLines(filename);
        }
    }
}