-
-
Save ScottLilly/09e291bf401bfa0ebe7adcadc4c8ea65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Variables | |
{ | |
public int classVariable1 = 3; | |
public int classVariable2 = 7; | |
public int classVariable3; | |
public void Function1() | |
{ | |
int functionVariable1; | |
if(classVariable1 < 5) | |
{ | |
functionVariable1 = 1; | |
int innerVariable1; | |
} | |
else | |
{ | |
functionVariable1 = 2; | |
int innerVariable1; | |
} | |
if(functionVariable1 < 3) | |
{ | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment