Skip to content

Instantly share code, notes, and snippets.

@ScottLilly

ScottLilly/Variables.cs Secret

Created Apr 5, 2021
Embed
What would you like to do?
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