Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

C# string length

string a = "One example";
Console.WriteLine("LENGTH: " + a.Length);
// This code outputs 11
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #string #length
ADD COMMENT
Topic
Name
9+1 =