I can’t remember exactly where I’ve seen this strange `1 (single-tick and the number 1) appearing next to classnames, but it’s shown up when inspecting variable values while debugging and most recently in the answer to this question.
targetClass.BaseTypes.Add(new CodeTypeReference { BaseType = "DataObjectBase`1[Refund]", Options = CodeTypeReferenceOptions.GenericTypeParameter })
I’m curious: where does this come from and why is it there?
It’s a generic type with 1 type parameter.
For example,
List<T>isand
Dictionary<TKey, TValue>isThis allows generic types to be overloaded by the number of type parameters.