Hi !
There may be various situations that results this error. I can solve this better if you specify the whole scenario. By the way if you want to access the element from a char array, you can use system.String for the same as there is a data type String to hold a char array in dot net.Again char[] will also work with a loop for accessing each element of this. Further if you send your program, then it will be very easy for error tracking.Keep discussing your doubts and problem.
Dec 28, 2010