Sunday, August 7, 2011

What's wrong with my C# source code?

I'm no C# expert, but i'd say your error speaks for itself - it cannon implicitly convert a string to a char. in other words, a string is one or more "char"s, and it cannot figure out how to convert a string of chars to a single char (it doesn't know which one you want). I'd say Convert.ToChar isn't applicable for string types. Again, i'm no C# programmer, but i'd try a char array and check the 0 position....

No comments:

Post a Comment