Is int
in C# considered to be a POD type? Isn't an int
a class in C# (or a struct with methods at least)?
Edit: POD types (Plain Old Data Types)
Is int
in C# considered to be a POD type? Isn't an int
a class in C# (or a struct with methods at least)?
Edit: POD types (Plain Old Data Types)
C# has so-called value-types. Technically, all structs and primitives are value types. So if you build your hierarchies from structs only, you have what in C++ would probably be called POD.