News

The keywords const, readonly, and static are used often when programming in C#. However, while these keywords have important differences, they also have similarities that sometimes make it hard to ...
There is a minor difference between const and static readonly fields in C#.Netconst must be initialized with value at compile time. const is by default static and needs to be initialized with constant ...
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.