switch case help
String is Immutable. Is it good to do ToLower since it creates a new copy of the string in memory. Is there any better option to eliminate such situations? The ultimate goal is to get a match from the...
View Articleswitch case help
as an aside you may want to trim the string for whitespace incase the user fat fingers a space. Such as switch ( strChampion.Trim() ) and also do a tolower in case the user doesn't type in it as...
View Articleswitch case help
as an aside you may want to trim the string for whitespace incase the user fat fingers a space. Such asswitch ( strChampion.Trim() ) and also do a tolower in case the user doesn't type in it as...
View Articleswitch case help
case "Liverpool" : See how smart is the compiler.Thanks, A.m.a.L | [Remember to click "mark as answered" when you get a correct reply to your question]
View Articleswitch case help
I keep on receiving this error " The name 'Liverpool' does not exist in the current context "May I know how can I solve this and why cause the problem.This is part of my code.Thank You privatevoid...
View Article