public static void Main(string[] args)
First first = new First();
if(string.IsNullOrWhiteSpace(first?.Second?.Third?.Name))
Console.WriteLine("Is NULL V2");
public Second Second { get; set; }
public Third Third { get; set; }
public string Name { get; set; }
public static class ObjectUtils
public static bool IsEmptyOrNull(this Object obj)
if (string.IsNullOrEmpty((string) obj)) return true;