Since you add a lot of language tags, I want to write for C #. In C #, it depends on the operating system.
For 32-bit, each inthas 4 bytes and 4 bytes also for an object reference, which makes 4 * 4 + 4 = 20 bytes
For 64-bit, each inthas 4 bytes and 8 bytes also for an object reference, which makes 4 * 4 + 8 = 24 bytes
# 5.0 . 22;
, , .NET 32- 64- .