What happens if the switch has more than 5000 case. What are the drawbacks and how we can replace it with something faster?
switch
case
Note: I am not expe
Try to use Dictionary class with Delegate values. At least it makes code a little bit more readable.