aewarnick Posted February 28, 2003 Posted February 28, 2003 char[]c = new char[]{'/', '\'}; Too many characters in character literal. What is wrong! This is frustrating! C#
aewarnick Posted February 28, 2003 Author Posted February 28, 2003 Microsoft could probably have thought of a better error message. That problem was the single backslash \ - escape character. To indicate a backslash you need \\. C#
*Gurus* divil Posted February 28, 2003 *Gurus* Posted February 28, 2003 It's hardly Microsoft's fault you failed to remember that C# has escape characters in strings :) MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts