Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.66 KB | None | 0 0
  1. int a = 10;                                               10
  2. int b = 15 + 25;                                      40
  3. int c = a * b + 8;                                     408
  4. int d = (5 + 5) / 2;                                   5
  5. bool b_a  = true;                                    true
  6. bool b_b  = true != false;                      true
  7. bool b_c  = b_a == b_b;                        true
  8. bool b_d = b_a != b_c;                          false
  9. bool b_e = b_a && b_d;                       false
  10. bool b_f = b_e || b_d;                         false
  11. string s = “test” + “ “ + “test2“;          test test2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement