For example, in the Monogame game library, you can build a self contained binary for Windows, Linux or MacOSX nearly effortlessly with just a single command line.
Also, you will find a java library for that random new tech you want to use, while it is likely missing for .NET.