Advertisement
natmaxex

idk example to many bools

Nov 1st, 2022
959
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.24 KB | None | 0 0
  1. public void ExampleCode(){
  2.     bool exampleBoolA;
  3.     bool exampleBoolB;
  4.     bool exampleBoolC;
  5.  
  6.     if(exampleString = "A")
  7.         exampleBoolA = true;
  8.  
  9.     if(exampleString = "B")
  10.         exampleBoolA = true;
  11.  
  12.     if(exampleString = "A")
  13.         exampleBoolA = true;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement