3 ms·
With .Net core, is C# "write once run anywhere" like Java?
by namelezz 10y ago
With .Net core, is C# "write once run anywhere" like Java?
- kodfodrasz 10y agoIf you have a .Net Core runtime on your platform, then yes. You cannot run .Net Core apps on traditional .Net Framework. (There are differences in the base types as .Net Core was redesigned to eventually support AOT, among many other things, which results in incompatibilities.)
- pjmlp 10y agoEventually, Microsoft is making a common base that is supposed to be available in all .NET implementations. https://docs.microsoft.com/en-us/dotnet/articles/standard/library https://docs.microsoft.com/en-us/dotnet/articles/standard/li... Think of it as the Compact Profiles introduced in Java 8.
- romanovcode 10y agoYea, you also need .NET Core runtime, not Mono. So it's kind of lightweight.