65.9K
CodeProject is changing. Read more.
Home

.Net Performance tip - 2

starIconstarIconstarIconemptyStarIconemptyStarIcon

3.00/5 (8 votes)

May 22, 2010

CPOL
viewsIcon

20743

.Net Performance tip - 2

.Net Performance tip - 2 Last week i was doing some exploration on performance of if statements vs switch statements and surprisingly i found that switch is more performance intent than the if statements. Hence the recomendation would be to prefer swicth over if statements. I hope this helps!. Regards, -Vinayak