8fc30896db
Former-commit-id: c477e03582759447177c6d4bf412cd2355aad476
19 lines
162 B
C#
19 lines
162 B
C#
using System;
|
|
|
|
class C : B
|
|
{
|
|
|
|
}
|
|
|
|
public class B
|
|
{
|
|
public static void Main ()
|
|
{
|
|
C c = new C ();
|
|
|
|
if (c is B b)
|
|
{
|
|
Console.WriteLine (b == null);
|
|
}
|
|
}
|
|
} |