How to measure the size of any variable without “sizeof” operator?
Roshan Rathod
// without using sizeofbyte[] dataBytes = BitConverter.GetBytes(x);int d = dataBytes.Length;