// without using sizeof
byte[] dataBytes = BitConverter.GetBytes(x);
int d = dataBytes.Length;
Interviews1 answer
How to measure the size of any variable without “sizeof” operator?
1 Answer
Kunjahamed PPosted Aug 4, 2020, 1:02 AM EDT
Interviews1 answer
// without using sizeof
byte[] dataBytes = BitConverter.GetBytes(x);
int d = dataBytes.Length;