C-style unions in .NET
Filed in C# on Feb.17, 2009
ByteUnion – Unions in .NET/C# Do you ever wonder what happened to the old-school C/C++ unions in C# ? Unions were extremely usefull for a wide range of problems back in the days where we dared make bold assumptions about memory-layout and the width of variables. .NET/C# does not allow us to make unions like [...]
