using System.Collections.Generic;
using System.Collections.ObjectModel;
public static void Main()
ICollection<Person> people = new Collection<Person>();
people.Add(new Person());
if (people != null || people.ToList().FirstOrDefault().CarList.Count() > 0)
Console.WriteLine("Success");
private ICollection<Car> _carList;
public string Name { get; set; }
public int Age { get; set;}
public ICollection<Car> CarList {
public string Model { get; set; }