Possible duplicate:
Why can't the switch statement apply to strings?
In some article, I read that the reason is that "the compiler must understand what it means for two values ββto be equal," but in C # it also does not know and just calls a function similar to Equals , so why C ++ can't do this?
theateist
source share