Home / C# Programming / Generics :: Discussion

Discussion :: Generics

  1. Which of the following statements are valid about generics in .NET Framework?

    1. Generics is a language feature.
    2. We can create a generic class, however, we cannot create a generic interface in C#.NET.
    3. Generics delegates are not allowed in C#.NET.
    4. Generics are useful in collection classes in .NET framework.
    5. None of the above

  2. A.
    1 and 2 Only
    B.
    1, 2 and 3 Only
    C.
    1 and 4 Only
    D.
    All of the above
    E.
    None of the above

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment