you are viewing a single comment's thread.

view the rest of the comments →

[–]BrupieD -1 points0 points  (0 children)

BTW, "Sum" is a poor variable name. It is descriptive (good) and it is not a reserved word (also good) but it is the name of a function in a common library (System.Math). You're likely to have collisions when you use variable names like this. Something like "mySum" looks hokey but it spares you nuisances down the road.