Say hypothetically you had a reader which did something like this...
//testing reader, automatically parses strings and converts to the custom type via attributes!
using ( FlatFileReader<MyCustomClass> reader = new FlatFileReader<MyCustomClass>(config) ) {
MyCustomClass custom;
while ( (custom = reader.ReadLine()) != null ) {
Console.WriteLine(custom.ToString());
}
}
Would this actually be useful in not just flat files, but CSV, etc, etc? I am just having some second thoughts about this program, as to whether it would actually be useful to people. There's not really any technical problems with this, I just want some opinions.