mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-08 15:38:41 +00:00
18 lines
327 B
C#
18 lines
327 B
C#
public class Program
|
|
{
|
|
public class MyClass
|
|
{
|
|
public int Value { get; set; }
|
|
}
|
|
|
|
public static int Main(string[] args)
|
|
{
|
|
MyClass obj = null;
|
|
|
|
// Cast null reference - should succeed and remain null
|
|
object result = (object)obj;
|
|
|
|
return result == null ? 42 : 0;
|
|
}
|
|
}
|