using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {
object[] obj = new object[3];
obj[0] = 1;
obj[1] = "Shreesh";
obj[2] = 12.3 F;
Console.WriteLine(obj[0]);
Console.WriteLine(obj[1]);
Console.WriteLine(obj[2]);
Console.ReadKey();
}
}
}This code snippet is for to store non homogeneous elements in array.
