Now this is something i really didn't think it would compile in C#.
private int _someVar = 0;
private void DoStuff1()
{
int _someVar = 0;
_someVar = 6;
// ... code that uses _someVar
}
private void DoStuff2()
{
_someVar = 5;
// ... code that uses _someVar
}
We should at least get a warning if you ask me...
One learns something new every day.