I have named a class "File", where there are some "attributes" as properties.
class File
{
public string Attribute1 { get; set; }
public string Attribute2 { get; set; }
public string Attribute3 { get; set; }
public string Attribute4 { get; set; }
}
The Text-files that I want to read, contains these "attributes". For Example I have read files, and file names are like below:
List<string> filenames = new List<string>();
filenames.Add("A0A01M");
filenames.Add("A1G4AA");
filenames.Add("A1L4AR");
filenames.Add("A1L4AX");
...(more than 3000 Files)
How to crate class objects based on this list for each text files, which contains attributes ?! I am a little bit confused here!!
Fileclass relate to the list? It's unclear.Fileusingnew File { Attribute1 = "A1...", Attribute2 = "A2..." }...