MCQs > IT & Programming > C# > Consider the following statement: string str = 'abcdefg';. How would get the length of str?

C# MCQs

Consider the following statement: string str = "abcdefg";. How would get the length of str?

Answer

Correct Answer: int strlength = str.Length;

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