Как подсчитать количество символов в тексте

maks_pays

Client
Joined
Jan 1, 2017
Messages
186
Reaction score
52
Points
28
пример:
12345 - в переменной указывается 5
Пример - в перем. указыв. 6

P/S Желательно как всегда C#
 

Err0r

Client
Joined
May 17, 2015
Messages
157
Reaction score
113
Points
43
Code:
string s = project.Variables["text"].Value;
return s.Length;
 

maks_pays

Client
Joined
Jan 1, 2017
Messages
186
Reaction score
52
Points
28

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)