In my C# app, I would like to know whether it is really important to use short for smaller numbers, int for bigger etc. Does the memory consumption really matter?
Only you can be the judge of whether the memory consumption really matters to you. In most situations it won't make any discernible difference.
In general, I would recommend using int
/Int32
where you can get away with it. If you really need to use short
, long
, byte
, uint
etc in a particular situation then do so.