If I have a Windows Application WinApp with a public function pubFun , how can I call it from another Windows Application -> WinApp.pubFun() ?
pubFun
WinApp.pubFun()
Thank you in advance
This is not trivial, there are many ways to do it.
I suggest using WCF , it is a great framework that abstracts the communication logic and makes your communication communication work just like method calls on an object.
Is there anything stopping you from extracting logic into a separate assembly that both apps can provide?