Answer: With the help of
string'Length property ,we can count numbers of string characters.
For Example:-
string name = "Rajesh";
int char_count = name.Length;
MessageBox.Show(char_count.ToString());
Output would be:6
Asked In: Many Interviews |
Alert Moderator