Variable doesn’t exit in context

Now, I was in the middle of making a login system, when I got in to this problem. It won't recognise variables. It's the exact same code I used yesterday, but today it doesn't work. Has there been an update I didn't notice?

Here's the code, it's in Mono Develop. Should I change program?

using System;

namespace Test { class MainClass { public static void Main (string[] args) { mile = 0; Console.Clear (); Console.WriteLine ("Help me reddit"); Console.WriteLine (""); Console.WriteLine ("You can do it reddit!"); mile = Convert.ToInt32 (Console.ReadLine ()); Console.Clear (); Console.WriteLine ("Why ;( Why meeeee"); Console.WriteLine (""); Console.WriteLine (mile + " is " + mile / 5 * 8); } } }

by Aski09 via /r/csharp

Leave a Reply