public DateTime? D { get; set;}
public static void Main()
Console.WriteLine(a?.D.GetValueOrDefault() != default(DateTime) ? a?.D.Value.Year : string.Empty);
Console.WriteLine(b?.D.GetValueOrDefault() != default(DateTime) ? b?.D.Value.Year : string.Empty);
Console.WriteLine(c?.D.GetValueOrDefault() != default(DateTime) ? c?.D.Value.Year : string.Empty);