Skip to content
This repository was archived by the owner on Apr 23, 2023. It is now read-only.

Files

Latest commit

cfe0e24 · Jul 4, 2018

History

History

Generics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 17, 2017
Jul 4, 2018
Jul 4, 2018

Readme - Code Samples for Chapter 5, Generics

This chapter contains the following code samples:

  • LinkedListObjects (creating a custom linked list using objects)
  • LinkedListSample (using LinkedList)
  • DocumentManager (declaring a generic type with constraints)
  • Variance (using out and in with generic types)
  • GenericMethods (declaring and using generic methods)
  • Specialization (specialization of generic methods)

To build and run the .NET Core samples, please install one of these tools:

  • Visual Studio 2017 Update 7 with the .NET Core workload
  • Visual Studio for Mac
  • Visual Studio Code

Please download and install the tools from .NET Core downloads.

For code comments and issues please check Professional C#'s GitHub Repository

Please check my blog csharp.christiannagel.com for additional information on topics covered in the book.

Thank you!