How many inputs are "too much" for a constructor in C#? For example, what if I create a Constructor with 110 inputs?
class File
{
public File(string name, string id, int comment, .... (+107))
{
}
}
I have maybe 3000 text files (or more), which contain attributes like: name, ID, comment, speed, and 106 others. I wanted to create a list of objects, like below:
List<File> file = new List<File>();
file .Add(new File("name", "id", "comment", "speed" (+ 106 others attributes));
and then here in the constructor to save all these attributes for each file, and then should I save all these in an Excel file.