News

Use the const keyword in C#. The const (read: constant) keyword in C# is used to define a constant variable, i.e., a variable whose value will not change during the lifetime of the program.
Delegates are used to define callback methods and implement event handling. This article talks about how we can work with closures using anonymous methods, lambda expressions, and delegates in C# .