Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CSharp_Light
- {
- class Program
- {
- static void Main(string[] args)
- {
- int a = 10; // 10
- int b = 15 + 25; // 40
- int c = a * b + 8; // 408
- int d = (5 + 5) / 2; // 5
- bool b_a = true; // true
- bool b_b = true != false; // true
- bool b_c = b_a == b_b; // true
- bool b_d = b_a != b_c; // false
- bool b_e = b_a && b_d; // false
- bool b_f = b_e || b_d; // false
- string s = "test" + " " + "test2"; // "test test2"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement