Quantcast
Channel: switch case help
Browsing latest articles
Browse All 5 View Live

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 Article


switch 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 Article


switch 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 Article

switch 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 Article

switch 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

Browsing latest articles
Browse All 5 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>