struct AccountInfo
{
String Username;
String Password;
}
now if I want to have a Nullable
instance I should write:
Nullable<AccountInfo> myAccount = null;
But I want make the struct
Nullable
by nature and it can be used like this (without use of Nullable<T>
):
AccountInfo myAccount = null;
String
instead ofstring
?