Should be a simple question for the C# experts here.
I basically want to check if one value or another is TRUE, a wild stab at the code is below:
if
If EXACTLY ONE should be true then it is:
var male = bool.Parse(staff.getValue("Male")); var female = bool.Parse(staff.getValue("Female")); if (male ^ female) { //is true }