public void CastTo()
        {
            ArrayList fruits = new ArrayList
            {
                "mango",
                "apple",
                "lemon"
            };
            ArrayList expected = new ArrayList
            {
                "apple",
                "lemon",
                "mango"
            };

            IEnumerable <string> query =
                Enumerable.CastTo <string>(fruits).SortBy(fruit => fruit);

            Assert.AreEqual(expected, query);
        }