Say I\'m looping through like 20/30 objects or in any other case where I\'m dealing with smaller numbers, is it a good practice to use short instead of int?
I mean w
In general, using numbers that matches the word size of the processor is relatively faster than unmatching numbers. On the other hand, short uses less memory space than int. If you have a limited memory space, using short may be the alternative; but personally I have never encountered such a thing when writing c# applications.