19 lines
328 B
C#
19 lines
328 B
C#
|
// 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);
|
||
|
}
|
||
|
}
|