This is the error that I am recieving. Can you help me. I am a student needing tutoring and guidance. The following errror is the problem in my program on line 33:
Error 1 Property or indexer 'string.this[int]' cannot be assigned to -- it is read only C:\Users\acer\Documents\Ti
33 25 C:\...\TitleCase\
This is what I am trying to accomplish.
I must create a script that takes text that a user enters into a form field and converts it to title case capitalization. Use a split() method to split words in the string into an indexed array. Then create a for loop that uses another split() method that splits each word in the elements of the indexed array into another another indexed array of characters. Within the for loop, us he ToUpper() method to convert the first element in the second array (which represents the first characters in the word to uppercase) to uppercase, and then use the Join() method to rebuild the array of words in the text string. Execute a final Join() method to convert the array of words back into a single text strin. Save the project as TitleCase