Code Below produces invalid2cs.txt(22,8): error CS0165: Use of unassigned local variable 'a' I believe this is wrong .... Also this code is not working in Visualstudio 2002 /Framework ver.1.0 (Invalid program exception with no Source) Butworks with .net 1.1 ... Any explanations will be much appreciated... (Obviously any body done a compiler can see this is probably wrong) Code using System; using System.Text; namespace working_with_text { { [STAThread] static void Main(string[] args) { char c, ch; c=(char) System.Console.Read(); ch=(char) System.Console.Read(); Int32 a,b; goto c1; a1: if (a.Equals(b)) Console.WriteLine("a==b");goto b1; c1: if ( c == ch) a = 32; b = a; goto a1; b1: Console.WriteLine("Finished");}} }