Click or drag to resize
StringLength Property
Gets the number of characters in the current String object.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public int Length { get; }

Return Value

Type: Int32
The number of characters in the current string.
See Also