Avoiding exceptions using list controls

Avoiding excpetions is always a good practice because exceptions can hurt as when thay occure. They may cause also hard performance loss. Assigning selected value to list controls is one candidate for ArgumentOutOfRange exceptions. Often this problem is solved using unhandled exception:

 

NB! This blog is moved to gunnarpeipman.com

Click here to go to article

3 Comments

Comments have been disabled for this content.