3
Answers

how to create a stronly typed array

roshan thas

roshan thas

11y
1.2k
1
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)