Hi,Why i am getting the excption (bold line)?
public class Base
{
some properties here..
}
public class Derive : Base
{
more properties here..
}
public Base GetObject()
{
Base b = getBase();// this function return Base object
//geting exception here
Derive d = (Direve)b;
}
...
Go to the complete details ...