# Beginning C sharp.txt

 Boolean Comparison Operator == var1 = var2 == var3; var1 is assigned the value of true if var2 is equal to var3 Boolean Comparison Operator != var1 = var2 != var3; var1 is assigned the value of true if var2 is not equal to var 3 Boolean Comparison Operator < var1 = var2 < var3; var1 is assigned the value of true if var2 is less than var3 Boolean Comparison Operator > var1 = var2 > var3; var 1 is assigned the value of true if var2 is greater than var3 Boolean Comparison Operator <= var1 = var2 <= var3; var1 is assigned the value of true if var2 is less than or equal to var3 Boolean Comparison Operator >= var1 = var2 >= var3; var1 is assigned the value of true if var2 is greater than or equal to var3 Boolean Operator ! (Unary) var1 = ! var2; var1 is assigned the value of true if var2 is false Boolean Operator & var1 = var2 & var3 var1 is assigned the value of true if var2 and var3 are both true Boolean Operator | var1 = var2 | var3; var1 is assigned the value of true if either var2 or var3 (or both) are true Boolean Operator ^ var1 = var2 ^ var3; var1 is assigned the value true if either var 2 or var3 Boolean Operator && var1 = var2 && var3; var1 is assigned the value of true if var2 and var3 are both true Boolean Operator || var1 = var2 || var3; "var1 is assigned the value of true if either var2 or var3 (or both) are true The _____________ is very similar to the if statement in that it executes code conditionally based on the value of a test. However the ________ allows you to test for multiple values of a test variable in one go rather than a single condition. Switch statement AuthorAnonymous ID39601 Card SetBeginning C sharp.txt DescriptionBeginning C# questions Updated2010-10-04T15:06:00Z Show Answers