AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter06/Listing06.35.ValidationOfNonNullReferenceTypeAutomaticallyImplementedProperties.cs

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_35
{
    using System;

    public class Employee
    {
        public Employee(string name)
        {
            Name = name ?? throw new ArgumentNullException(nameof(name));
        }

        public string Name { get; }
        // ...
    }
}
