I\'m new to programming and having a problem with the following code:
private string alphaCoords(Int32 x)
{
char alphaChar;
switch (
After you declare the variable char alphaChar, you should "assign" a value to it (set it to be equal to something), even though you expect it to get a value in the switch statement.
You could assign it 'A' or '0' or pretty much anything.
You can do that in the declaration like this
char alphaChar = 'A';
Or you can do it separately
char alphaChar;
alphaChar = 'A';