1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// CS0165: Use of unassigned local variable `s' // Line: 16 using System; public class Test { public int i; public void Hoge () { if (i > 0) goto Fuga; string s = "defined later"; Fuga: Console.WriteLine (s); } }