Tag - variable initialization

C# Keywords Tutorial Part 20: default

The "default" expression in C# is used to set a variable's default value at initialization time. When working with generic classes or resetting a variable to its initial value after use, it is especially helpful. The "default" term will be discussed in detail in this article, along with its usage in some sample code. What...