Are there “Records” in C#?
问题 I'm looking to store some customer data in memory, and I figure the best way to do that would be to use an array of records. I'm not sure if that's what its called in C#, but basically I would be able to call Customer(i).Name and have the customers name returned as a string. In turing, its done like this: type customers : record ID : string Name, Address, Phone, Cell, Email : string //Etc... end record I've searched, but I can't seem to find an equivalent for C#. Could someone point me in the