I am extending the existing .NET framework class by deriving it. How do I convert an object of base type to derived type?
public class Results { //Framework
Results results = new MyResults(); ... return (MyResults)results;
should work. If not, then the problem is somewhere alse.