July 29, 2016
Generics - article reading:
Notes:
Advantages:
code reusability and
type safety
Better performance -
no need to box the value types
type-safe callbacks
lightweight dynamic
methods vs entire assemblies
compiler will help to do type safety - enforce at compile time
The need for type
casting and the possibility of run-time errors are reduced.
Generics streamline dynamically generated code.
No comments:
Post a Comment