FrameworkName.Inequality Operator (FrameworkName, FrameworkName)
Returns a value that indicates whether two FrameworkName objects represent different .NET Framework versions.
Assembly: System (in System.dll)
The first object to compare.
The second object to compare.
Return ValueType: System.Boolean
true if the left and right parameters represent different .NET Framework versions; otherwise, false.
The following example uses the equality operator to determine whether a FrameworkName object that represents the running version of the .NET Framework is equal to a supported version of the .NET Framework. Note that the two versions are not equal because they do not have identical version numbers.
Available since 10
Available since 4.0