SizeOf()

Unsafe::SizeOf() method

Returns the size of the specified type.

template<typename T> static int32_t System::Runtime::CompilerServices::Unsafe::SizeOf()

Template parameters

ParameterDescription
TThe type to determine the size of.

Return Value

The size of the specified type.

See Also