Skip to content

October 2021

Assigning Delegates

Because delegates are reference types, you can change the reference contained in a delegate variable by assigning to it. The old delegate object will be disposed of by the garbage collector (GC) when it gets… Read More »Assigning Delegates

What Are Structs?

Structs are programmer-defined data types, similar to classes. They have data members and functionmembers. Although structs are similar to classes, there are a number of important differences. The mostimportant ones are the following:• Classes are… Read More »What Are Structs?