indexed property of
class is readonly by nature, i.e. it is defined with only one property getter and no property setter.
This is not something to be chosen by user.
You may need a
StringBuilder sb = new StringBuilder(text);
sb = 'a';
Hope this helps.