Csharp/CSharp Tutorial/Operator/sizeof

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

sizeof operations

Get the size, in bytes, of one of C#"s value types.

To obtain this information, use the sizeof operator.

It has this general form:


sizeof(type)