namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_06
{
    using System;

    public class DisplayFibonacci
    {
        static void Main()
        {
            // ...

            int number;
            object thing;
            double bigNumber;

            number = 42;
            thing = number;
            // BŁĄD: InvalidCastException
            // bigNumber = (double)thing;
            bigNumber = (double)(int)thing;

            // ...
        }
    }
}
