This was my experience trying to rewrite a service about a year ago.
It has been amusing watching them try to get cross platform going, I used to hear how they (c#/.net) did such a good job with backwards compatibility, however Java had been doing crazier platforms for longer and their cross platform/backwards compat is in a much better state... although they are much more difficult to use to integrate deeply with a system.
So in theory it's all independent but in practice the best bits are still on Windows.