B
Benton
Hi there,
Currently I have a rather simple class with a few members:
string userName;
string password;
string centers;
bool canModify;
I have correspondant GET properties for them in the class. I need to store
an instance in the Session, like this:
Session["up"] = new UserProperties("joe", "1234", "a,b,c", true);
Is it better to use a class like this or will I be better with a struct?
Regards,
-Benton
Currently I have a rather simple class with a few members:
string userName;
string password;
string centers;
bool canModify;
I have correspondant GET properties for them in the class. I need to store
an instance in the Session, like this:
Session["up"] = new UserProperties("joe", "1234", "a,b,c", true);
Is it better to use a class like this or will I be better with a struct?
Regards,
-Benton