Vidyalelo
C# Programming · Q37

Arrays and Strings in C Sharp

Programming · C# Programming · question 37

Q37

In C#, what is the correct way to access the length of a string named text?

A.
text.Length()
B.
text.Size()
C.
text.Count()
D.
text.Length
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board