So earlier today I saw the needs for a dll plugin system and coded one. There is a API.dll and a Default.dll along with my Program.exe
My question is whats the best way to go about this ? I want Program.exe to have the same types in API.dll but if I put those types in Program.exe and reference it from API.dll I would be able to explicity add the classes from 'Default.dll' via Assembly into Program.exe via static calls. But then I would need to re-define the type in API.dll which wouldnt be to hard as I can just reference the ones already in Program.exe
So whats your thoughts and opinions on this one ?