Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. class Program
  2. {
  3. static void Main(string[] args)
  4. {
  5. bool wahr = true;
  6. bool falsch = false;
  7.  
  8. wahr = !true;
  9. falsch = !false;
  10. Console.WriteLine("NOT Ausgabe:\n\t False\t\t" + !false + "\n\t True\t\t" + !true);
  11.  
  12. Console.WriteLine("\n UND:\t true \t false \n true \t " + (true&&true) + "\t " + (true&&false) + "\n false \t " + (false&&true) + "\t " + (false&&false) );
  13. Console.ReadKey();
  14.  
  15.  
  16. }
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement