how to do a variable is true and false in C# code example Example: what type of variable is true or false in c# bool name = true;