Alternative Method for reading Files in C#? -


Sometimes, reading some of the names and statistics requires some serious insertion work, Is there a way to read a specific data type? Like the good old FSNF in C?

thanks

I do not know that That's what you are looking for, but there are many facilities to help you read many lengthy and delimited text files in the library.

From the site:

You can strengthen your flat file (fixed or delimited) simply describe a class that maps to each record and Later you read / writes your file as a strong typed NAT array

If you are looking for files are strongly typed with files, Should look into the structure. These allow you to save the object state in a file and read them later.


Comments