Problem with dynamic code generetion and cast.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I create an object with type A dinamicly and when I obtain it I tryed cast it to A and this action cause an exception

A a = (A)dynamicCreation(...); // this cause invalid cast exceptio

Thanks for any help
 
Back
Top