case "north":
Console.WriteLine("Moved North");
int xCord;
xCord++;
int yCord = new int();
yCord = 0;
Console.WriteLine("(" + xCord + "," + yCord + ")");
break;
--
Hey, I'm new to C-sharp and am having trouble with int's.
I want to increase the xCord by value of 1, every time 'north' is entered and the loop run again.
But with this current code, it stays at 1 no matter how many times the loop runs.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.