public class User
{
string username;
string password;
}
public class registration
{
User user;
**[compare(user.password)]**
string newPass;
}
It produces error (Property is not found)
Is there a way to create validation for a property inside another class ?
thanks
}