K
Kenneth Siewers Møller
Hi there
I know this probably have been addressed before, but I have an object that
should contain the following
Guid id
String fName
String lName
Could I use a struct for that? I have read that a struct should only contain
valuetypes and should be below 16byte in memory size. The guid is actually
16 byte in size but can i use string (which are ref-types) in my struct?
The problem is that I have an array of customers that I need to transfer in
a WebService. I could of course create a two-dimentional array or use a
class, but what is the best practice or choice for that matter?
Thanks in advance...
I know this probably have been addressed before, but I have an object that
should contain the following
Guid id
String fName
String lName
Could I use a struct for that? I have read that a struct should only contain
valuetypes and should be below 16byte in memory size. The guid is actually
16 byte in size but can i use string (which are ref-types) in my struct?
The problem is that I have an array of customers that I need to transfer in
a WebService. I could of course create a two-dimentional array or use a
class, but what is the best practice or choice for that matter?
Thanks in advance...