Not sure if the title is properly worded but basically I am trying to load all the file names of text files in a given directory, then loading the lines of text from each file, all into one collection.
I would hope to do something like this:
Dictionary<string, List<string>> db = new Dictionary<string, List<string>>;
db.Add("c:\text1.txt", new List<string>(new string[]{"line1","line2","line3"}));
And then to access it using db[0]
Is there any kind of collection to do this, or can you all recommend a different way of doing it?