a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
217 B
C#
19 lines
217 B
C#
using System;
|
|
|
|
class Program
|
|
{
|
|
public static int Main ()
|
|
{
|
|
dynamic d = new Program ();
|
|
var p = d as int?;
|
|
if (p != null)
|
|
return 1;
|
|
|
|
var p2 = d as Program;
|
|
if (p2 == null)
|
|
return 2;
|
|
|
|
return 0;
|
|
}
|
|
}
|