4
By default my Visual Studio selects . NET Framework 4.6.1 when starting a new project, but is there any advantage in selecting the latest version? (4.7.1)
4
By default my Visual Studio selects . NET Framework 4.6.1 when starting a new project, but is there any advantage in selecting the latest version? (4.7.1)
4
It depends on what you call the advantage. But it has several fixes of bugs and some Features.
Several features of C# 7 only work with this version (others are not working with it), such as tuples for example. New Windows Apis are also only available on it. There are some improvements in Windows Forms and WPF, as well as UWP that is part of Windows improvements. I won’t make an extensive list of everything new, but official announcement of key innovations. If you want to have the details of each release.
Already released version 4.8 and recommend using it if it will still be in . NET Framework. It is the last version to be released, there will never be evolution.
C# 8 runs a few things on . NET 4.8, but not everything and it will never run. It is clear that Microsoft will not make many investments on. NET Framework and it is slowly going into legacy mode, even more so with . NET Core 3.0 that practically solves what was missing in it for that . net is no longer necessary. I’ve been saying this for a long time, some people said I was wrong, now you can see more clearly that the future of C# is only on top of Core. In fact it has already been officially announced that this is the only viable way.
Read: The . NET Framework is dead?.
Browser other questions tagged c# .net visual-studio
You are not signed in. Login or sign up in order to post.
The advantage of always having the latest version, is to have the new Features, bug fixes, optimizations, etc. But having the latest version also means being subject to new problems that were not noticed before making available to the public (but are rare)
– Costamilam