I'm reading a book "C# in depth" by Jon Skeet and there is a part that confuses me:
Methods and nested types can be generic, but all of the following have to be nongeneric:
- Fields
- Properties
- Indexers
- Constructors
- Events
- Finalizers
I tested and fields (a variable in a class) can be generic, am I not understanding? It makes me doubt about the others.