roshan thas

roshan thas

  • NA
  • 1
  • 1.2k

how to create a stronly typed array

Jan 21 2014 7:21 AM
Interface IPerson
{
}

Class A:IPerson
{}

Class B:IPerson()
{}

Class C
{
      Object[] obj=new Object[]
      {
       new A(),
       new B()
       };
}

How to convert this Object array to strongly typed array?

Answers (3)