Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

string length c#

string name = "Anthony";
int nameLength = name.Length;
Console.WriteLine("The name " + name + " contains " + nameLength + "letters.");
 
PREVIOUS NEXT
Tagged: #string #length
ADD COMMENT
Topic
Name
6+8 =