I do not remember how to do in C# a comparison of a class against a primitive type.
Example
public class Validate{
... //This is here that we would need to add code
//if I remember to make the object act as a boolean for example
}
...
Validate v = new Validate(...);
if(v==true)
{
...
}
Do you know the name of that and how to do it?