C# Programming - Generics - Discussion

Discussion Forum : Generics - General Questions (Q.No. 4)
Which of the following statements is valid about generic procedures in C#.NET?
All procedures in a Generic class are generic.
Only those procedures labeled as Generic are generic.
Generic procedures can take at the most one generic parameter.
Generic procedures must take at least one type parameter.
None of the above.
Answer: Option
No answer description is available. Let's discuss.
2 comments Page 1 of 1.

Ankit said:   9 years ago
As we know that generic class are use for type safety so when we create the object then we must specify the type of object explicitly.

Wowo said:   10 years ago
How about 'KeyNotFoundException' class object?

Post your comments here:

Your comments will be displayed after verification.