MCQs > IT & Programming > C# > Which of the following creates an instance of a generic type, in a function which has no parameters?

C# MCQs

Which of the following creates an instance of a generic type, in a function which has no parameters?

Answer

Correct Answer: public static string GetAllItems<T>(...) where T: new() { // method body }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it