Retrieves the number of characters in the current String object.
unsigned int Length()
The length of a String with no characters is zero. The length of the following string is 5:
String^ str = "Hello";
The character array returned by the String::Data Method has one additional character, which is the terminating NULL or ‘\0’. This character is also two bytes long.