I have this method
public enum Values
{
True= true,
False=false
};
public static string GetValues(bool values)
{
string status = "";
switch (values)
{
case(bool)UIHelper.Values.False:
}
}
I want to have this enum as boolean. It says, that:
Values cannot be casted as bool.
How can I do it so I can have it boolean?
boolinstead of an enum?bool. Also am I suppose to say Bro now?