Reference types, Value types, and Patterns
- slide 4 : 29
Overview of reference types in C#
Classes are reference types in C#, but there are others as well
Reference types
Classes
Strings
Arrays
Interfaces
Similar to classes. Contain no data. Have only signatures of methods
Delegates
Delegate objects can contain one or more methods
Used when we deal with methods as data
Delegates in C#
Interfaces