I just noticed that PropertyInfo.GetValue(object)
exists. I'm used to adding that extra null value for the indexer.
So I brought up the F1 help on the method I found the MSDN docs and switching to versions previous to 4.5 confirmed it is new.
Asking myself how I might have known this without stumbling upon it, I scanned these what's new notes and didn't find anything.
Is there a definitive source that itemizes all the new stuff in a version of the .NET framework?
. NET Framework 4.8 can be installed on Windows 11, Windows 10 version 21H2, Windows 10 version 21H1, Windows 10 version 20H2, and the corresponding server platforms starting with Windows Server 2022. You can install . NET Framework 4.8.
NET Framework version. To update the target framework for all projects, right-click on the project (one by one), click properties, and from the “Application” tab change the target framework to the desired one as in the following screenshot and select “Yes” in the popup that is displayed after the framework is changed.
Some key differences include: . NET is cross-platform and runs on Linux, macOS, and Windows. . NET Framework only runs on Windows.
The . NET Framework 4.5 and later versions are backward-compatible with apps that were built with earlier versions of the . NET Framework. In other words, apps and components built with previous versions will work without modification on the .
If you are really going to get bored, these links might be interesting:
New Types and Members (the PropertyInfo.GetValue(object) was not mentioned),
Obsolete Types
Obsolete members
Obsolete summary
Also (just by the way) almost the same for .NET 4:
.NET 4 new Namespaces
.NET 4 new types and members Part 1
.NET 4 new types and members Part 2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With