One Modelica simulation created with Dymola can be executed as a DDE server. If you create your C# application as a DDE client you will be able to communicate with the Modelica simulation. I already done that using the NDde library (http://www.codeplex.com/ndde). It is actually very simple to use.