Is string actually an array of chars or does it just have an indexer?

Viewed 10609

As the following code is possible in C#, I am intersted whether string is actually an array of chars:

string a="TEST";
char C=a[0]; // will be T
12 Answers
Related