I would like to conditionally set a variable in one class to be either:
Aspose.Pdf.Document doc = new Aspose.Pdf.Document();
Aspose.Words.Document doc = new Aspose.Words.Document();
Depending on the incoming variable, I would like to determine which namepspace to use to create a new Document (either have the one class create a new Pdf Document, or a new Words Document).
Do you know if it is possible to conditionally set a variable to use different namespaces/classes?