15 lines
210 B
C#
15 lines
210 B
C#
|
// CS0841: A local variable `x' cannot be used before it is declared
|
||
|
// Line: 8
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
public static void Main ()
|
||
|
{
|
||
|
Foo (x, out var x);
|
||
|
}
|
||
|
|
||
|
static void Foo (int arg, out int value)
|
||
|
{
|
||
|
value = 3;
|
||
|
}
|
||
|
}
|