how to count the characters in one variable?C#
C#
2
Posts
2
Posters
0
Views
1
Watching
-
-
for example, I have string X; now I want to know thathow can i write the code for my project, that is X has exactly 10 character in itself or not, and then using if statement for the answer if it is 10 so do this nor something else. thanks.:confused:
You30
youstring.Trim().Length();
Today is Windows Mobile