codeGK
Code it ALL
String Length in C# - CodeGK

♦ String Length in C#

♣ Example3: String Length in C#

Number of characters in a string variable is known as length of the string In this example, Length attribute is illustrated.
Example
Input:
Output: