if (string.IsNullOrEmpty(value))
throw new ArgumentNullException("Name cannot be empty or null");
public string DateOfBirth { get; set; }
public static void Main()
Customer customer = new Customer();
Console.WriteLine(customer.Name);
customer.Name = string.Empty;