AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter06/Listing06.43.DeclaringAStaticConstructor.cs
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_43
{
    using System;

    class Employee
    {
        static Employee()
        {
            Random randomGenerator = new Random();
            NextId = randomGenerator.Next(101, 999);
        }

        // ...
        public static int NextId = 42;
        // ...
    }
}
