Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to get a length of a string in c#

string string1 = "A man i hurry just jumped on a tail of a dog and dog has bitten him damagingly";
//get length if string
Console.WriteLine(string1.Length);
 
PREVIOUS NEXT
Tagged: #length #string
ADD COMMENT
Topic
Name
1+9 =