EN
C# / .NET - string length
10 points
In C# / .NET it is possible to check text length in following way.
xxxxxxxxxx
1
string text = "My name is John.";
2
3
Console.WriteLine("Text length is " + text.Length + " characters.");
Output:
xxxxxxxxxx
1
Text length is 16 characters.