mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-18 03:48:40 +00:00
18 lines
308 B
C#
18 lines
308 B
C#
public class Program
|
|
{
|
|
public class MyType
|
|
{
|
|
public int Value { get; set; }
|
|
}
|
|
|
|
public static int Main(string[] args)
|
|
{
|
|
MyType obj = null;
|
|
|
|
// isinst on null should return null
|
|
object result = obj as object;
|
|
|
|
return result == null ? 42 : 0;
|
|
}
|
|
}
|