Hello,
I want to put some structure into a List. Therefore I dont know how to declare the type list.. maybe structureType and then add the structure into the list, for example;
what do you think? any recommendation?
I want to put some structure into a List. Therefore I dont know how to declare the type list.. maybe structureType and then add the structure into the list, for example;
Code:
List<dataStructure> data = new List<dataStructure>(); public struct dataStructure { string firstName; string lastName; string age; string address; }
Comment