MCQs > IT & Programming > C# > Proper way of defining an extension method for a string class in C# is:

C# MCQs

Proper way of defining an extension method for a string class in C# is:

Answer

Correct Answer: public static int WordCount(this String str)

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