I know we can use the charAt() method in Java get an individual character in a string by specifying its position. Is there an equivalent method in C#?
I know we can use the charAt() method in Java get an individual character in a string by specifying its position. Is there an equivalent method in C#?
Simply use String.ElementAt(). It's quite similar to java's String.charAt(). Have fun coding!