I'm not sure exactly what you're asking - but you could use a generic method:
public static T CreateClass<T>() where T : BaseClass {
Reed Copsey, Jr. - http://reedcopsey.com - If a post answers your question, please click Mark As Answer on that post. If you find a post helpful, please click Vote as Helpful.
No comments:
Post a Comment