What useful minor C # 4.0 features can you list?

There are many new core features in C # 4.0, such as dynamic type, covariance and contravariance, named arguments, etc.

But C # 4.0 contains new minor (but useful) changes such as TryParse

a method for TimeSpan, Enum, Guid

data types String.IsNullOrWhiteSpace

, System.IO.Stream.CopyTo

etc.

What other minor and useful features of C # 4.0 can you list?

+2


a source to share


1 answer


You need to distinguish between language features and framework features. C # 4.0 lists the new features you added.

For .NET Framework 4, the list is long. Some of the more interesting and / or commonly used ones:



Below is a comprehensive list . It is also interesting to read the list of deprecated types in the new version.

+2


a source







All Articles