News

Default interface methods are included in a new feature proposal for C# 8, which will allow developers to use the traits programming technique on the .NET platform.
In C# 9 lambda or anonymous methods can have a static modifier. This article talks about static anonymous functions and why they are useful, using code examples to illustrate the concepts.
Take advantage of default interface methods in C# 8.0 to add new methods to an interface without breaking existing implementations.
For example, the source generator may combine the attributes on a partial method with a database’s schema to generate a method, completely with SQL, for a database call.
The BeginResolve method and IAsyncResult To avoid blocking your program’s execution (as in the first example), you can opt to use the asynchronous version of the Resolve method: BeginResolve.