MCQs > IT & Programming > C# > You are creating a class to compare a specially formatted string. You need to implement the IComparable<string> interface. Which code segment should you use?

C# MCQs

You are creating a class to compare a specially formatted string. You need to implement the IComparable<string> interface. Which code segment should you use?

Answer

Correct Answer: public int CompareTo(string other)

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