Click to See Complete Forum and Search --> : No String^ in switch statements?


MattTC
March 26th, 2009, 04:50 PM
I tried to use a switch statement on a String^ but is told by the compiler that this cant be done. Is this really true?

darwen
March 26th, 2009, 07:18 PM
Nope, it can't be done. It's not supported by native C++ or C++/CLI but is in C# and VB.NET.

Darwen.