C#: Find the length of a string
Write a C# Sharp program to find the length of a string without using a library function.

Sample Solution:-
C# Sharp Code:
Sample Output:
Find the length of a string : --------------------------------- Input the string : w3resource Length of the string is : 10
Flowchart:

C# Sharp Code Editor:
Contribute your code and comments through Disqus.
Previous: Write a program in C# Sharp to input a string and print it.
Next: Write a program in C# Sharp to separate the individual characters from a string.
What is the difficulty level of this exercise?
Test your Programming skills with w3resource's quiz.