Advertisement
mjc65

Example 1-47. Boolean OR operator

Jun 23rd, 2020
823
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.10 KB | None | 0 0
  1. bool x = true;
  2. bool y = false;
  3.  
  4. bool result = x || y;
  5. Console.WriteLine(result); // Displays True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement