0

How to read the characters in a string?

Is there any method to read the characters of a string in c# language?

19th Oct 2018, 5:42 AM
Kavish Bamboli
Kavish Bamboli - avatar
4 Respuestas
+ 1
character in string ? like an individual character ? you can use [] string s = "something"; char c = s[1]; now c value is o
19th Oct 2018, 7:24 AM
Taste
Taste - avatar
+ 1
So it is the same as reading arrays
19th Oct 2018, 7:48 AM
Kavish Bamboli
Kavish Bamboli - avatar
0
if i remember correctly yes
19th Oct 2018, 7:51 AM
Taste
Taste - avatar
0
Thanks bro👍👍👍
19th Oct 2018, 7:52 AM
Kavish Bamboli
Kavish Bamboli - avatar