AcornPublishing_essential-csharp-7e/EssentialCSharp-8.0/src/Chapter07/Listing07.04.ImplicitBaseTypeCasting.cs
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_04
{
    using Listing07_03;

    public class Program
    {
        public static void Main()
        {
            // Derived types can be implicitly converted to
            // base types
            Contact contact = new Contact();
            PdaItem item = contact;
            // ...

            // Base types must be cast explicitly to derived types
            contact = (Contact)item;
            // ...
        }
    }
}
