You could have chosen this[^] forum, or this[^] one. Richard is right - as your question doesn't have any code element, i.e. you haven't actually asked why your code is slow, then it's not for this forum. Your question is more general and, dare I say it, architectural.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
Just wondering if anyone can help me with this. I have a C# windows app and wish to use Microsoft report viewer to display a report where each line of a dataset is displayed on a seperate page. This is a visual studio 2010 project.
This is easy with crystal reports, but I cannot seem to find this function in MS Reports ?
In "TestConsole" can I switch the use of MyClass choosing from which assembly the class come (New or Old), in the code?
Not so easily. You could load a type, based on it's name - but the name of the type has to be unique within the namespaces loaded.
If you'd program against an Interface, you could use "any" object that implements that interface. Another sweet alternative would be to use a base-class, and inherit both New and Old from the same base.
Do you mean like this, same class name different namespace ?
staticvoid Main(string args)
ClassLibrary1.Class1 myClass = new ClassLibrary1.Class1();
ClassLibrary2.Class1 myClass2 = new ClassLibrary2.Class1();
Last Visit: 31-Dec-99 19:00 Last Update: 5-Feb-16 7:30