Рет қаралды 1,184
Value types pass by value and reference types pass by reference. But interfaces are implemented by both value and reference types. How are they passed?
Source code available at: github.com/Jas...
Topics include:
C# extension methods
Value types
Immutable types
Readonly structs
Passing by ref
Generic constraints
Boxing
Interfaces on structs