Say I have this class hierarchy:
public abstract class Base {};
public class Child1 : Base {};
public class Child2 : Base {};
At some point I persist one of inherited classes in IsolatedStorageSettings.ApplicationSettings and then get it back as object. How can I find out whether it is Child1 or Child2 and type cast it to right type at runtime?
Can you not just use is ?