using System;
public class Program
{
class List
public int Count {get;set;}
}
public static void Main()
List nullList = null;
Console.WriteLine(nullList is { Count: > 0 });