I want to exceute some piece of code in separate AppDomain with delegate. How can I do this?
UPD1: some more details about my problem My program pro
In order to execute a delegate on another AppDomain you can use System.AppDomain.DoCallBack(). The linked MSDN page has an excellent example. Note that You can only use delegates of type CrossAppDomainDelegate.