Possible Duplicate:
C# Language: generics, open/closed, bound/unbound, constructed
While doing some stuff with reflection in C#, I’ve noticed that some types have the type definition e.g.
Foo<,>
What is the official term for this notation?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Type names which are missing generic parameters such as
List<>are referred to as unbound generic types. This question has a good summary of unbound generic types as well as some related terminology.Depending on what context you are describing these types, some other terminology may be used. The C# specification uses the term “unbound generic type” to refer to something like
T<>. The .Net framework seems to prefer the terms “generic type definition” (as dasblinkenlight pointed out, see alsoType.GetGenericTypeDefinition()) or “open generic type” (see this article).