[Mono-dev] Deferred loading of assemblies in C#?

2009-08-23 Thread SebastianGarth
Hello, I have a general question with respect to loading assemblies at runtime. Specifically, I would like to know if it is possible to reference a class at compile time and have it resolve at link time? For instance, let's say I have the following program: using Foo; class Test {

Re: [Mono-dev] Deferred loading of assemblies in C#?

2009-08-23 Thread Zoltan Varga
Hi, Its not possible, the compiler needs the referenced assembly in order to decide whenever your program is correct or not. You can use reflection to load assemblies at runtime. Zoltan On Thu, Jul 23, 2009 at 6:03 AM, SebastianGarth sebastianga...@gmail.comwrote: