String Length in C#. Returns the number of characters in a string. Syntax. int length = stringName.Length;. Notes. Spaces count as characters. Example.
確定! 回上一頁