8b9b85e7f5
Former-commit-id: 172c8e3c300b39d5785c7a3e8dfb08ebdbc1a99b
19 lines
200 B
C#
19 lines
200 B
C#
delegate int D (int t);
|
|
|
|
class X
|
|
{
|
|
D d = delegate { return 4; };
|
|
|
|
public static int Main ()
|
|
{
|
|
X x = null;
|
|
|
|
var res = x?.d (55);
|
|
if (res != null)
|
|
return 1;
|
|
|
|
x?.d (1);
|
|
|
|
return 0;
|
|
}
|
|
} |