The New Read-Only Collections in .NET 4.5: Listing 2

Employee subclass with EIN and Salary properties.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VSMReadOnlyCollectionDemo
{
    public class Employee : Person
    {
        public int EIN { get; set; }
        public Decimal Salary { get; set; }
    }
}

About the Author

Eric Vogel is a Sr. Software Developer at Kunz, Leigh, & Associates in Okemos, MI. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at vogelvision@gmail.com.