In C Sharp, any string has the Length property.
Length
You can access it by calling .Length on any string object.
.Length
string name = "Bob"; int length = name.Length; Console.WriteLine(name);
Output:
3