Size of memory allocated to different data types in c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Size of memory allocated to different data types in c#

18th Nov 2017, 6:34 AM
Rishab Saini
Rishab Saini - avatar
3 Answers
18th Nov 2017, 8:58 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
18th Nov 2017, 7:01 AM
Vukan
Vukan - avatar
+ 6
You can use sizeof function to get size of different data types.
18th Nov 2017, 6:56 AM
Vukan
Vukan - avatar