Advertisement
Garloon

1.2

Aug 21st, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.41 KB | None | 0 0
  1.             int a = 10; //a = 10
  2.             int b = 15 + 25; // b = 40
  3.             int c = a * b + 8; // c = 408
  4.             int d = (5 + 5) / 2; // d = 5
  5.             bool b_a = true; // b_a = true
  6.             bool b_b = true != false; // b_b = true
  7.             bool b_c = b_a == b_b; // b_c = true
  8.             bool b_d = b_a != b_c; // b_d = false
  9.             string s = "test" + " " + "test2"; // s = "test test2"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement