System Linq C# by API

using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Linq;
public class MainClass{
   public static void Main(){
            object[] doubles = {1.0, 2.0, 3.0};
            IEnumerable d = doubles.Cast();
            Console.Write(d);
   }
}