Beginning C sharp.txt

Card Set Information

Author:
Anonymous
ID:
39601
Filename:
Beginning C sharp.txt
Updated:
2010-10-04 11:06:00
Tags:
programming prgm sharp
Folders:

Description:
Beginning C# questions
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user Anonymous on FreezingBlue Flashcards. What would you like to do?


  1. Boolean Comparison Operator == var1 = var2 == var3;
    var1 is assigned the value of true if var2 is equal to var3
  2. Boolean Comparison Operator != var1 = var2 != var3;
    var1 is assigned the value of true if var2 is not equal to var 3
  3. Boolean Comparison Operator < var1 = var2 < var3;
    var1 is assigned the value of true if var2 is less than var3
  4. Boolean Comparison Operator > var1 = var2 > var3;
    var 1 is assigned the value of true if var2 is greater than var3
  5. Boolean Comparison Operator <= var1 = var2 <= var3;
    var1 is assigned the value of true if var2 is less than or equal to var3
  6. Boolean Comparison Operator >= var1 = var2 >= var3;
    var1 is assigned the value of true if var2 is greater than or equal to var3
  7. Boolean Operator ! (Unary) var1 = ! var2;
    var1 is assigned the value of true if var2 is false
  8. Boolean Operator & var1 = var2 & var3
    var1 is assigned the value of true if var2 and var3 are both true
  9. Boolean Operator | var1 = var2 | var3;
    var1 is assigned the value of true if either var2 or var3 (or both) are true
  10. Boolean Operator ^ var1 = var2 ^ var3;
    var1 is assigned the value true if either var 2 or var3
  11. Boolean Operator && var1 = var2 && var3;
    var1 is assigned the value of true if var2 and var3 are both true
  12. Boolean Operator || var1 = var2 || var3;
    "var1 is assigned the value of true if either var2 or var3 (or both) are true
  13. 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

What would you like to do?

Home > Flashcards > Print Preview