I have a question. How to convert IDictionary<string, object>
to class? As well as the create user account.
WebSecurity.CreateUserAndAccount(UserName, Password, new { eny = 0 , eny2 = "sas"});
And I have
void Create(String name, IDictionary<string, object> values)) {...}
and class
class test {
String name,
int eny,
int eny2
}
I want to have a object test with data from dictionary.