Home > Articles > Programming > C#

  • Print
  • + Share This
This chapter is from the book

Using the sizeof Operator

You saw the sizeof operator in action on Day 2. This operator is used to determine the size of a value in memory.

CAUTION

Because the sizeof operator manipulates memory directly, avoid its use, if possible.

  • + Share This
  • 🔖 Save To Your Account