indexing - C# can I index individual fields in a class instance -
i want import csv file class of strings.
if utilize http://www.codeproject.com/articles/415732/reading-and-writing-csv-files-in-csharp , alter display populate class of strings, there way dynamically this?
could index each field classinstance[i]. or have read each field individually , add together in position, , validate end of file adding blank entries remaining fields.
read stringcontents; classinstance.position1 = stringcontents; read stringcontents; classinstance.position2 = stringcontents; c# indexing field
No comments:
Post a Comment