Comments on: C# Intermediate – Structures https://code-maze.com/csharp-structures/ Learn. Code. Succeed. Mon, 10 Mar 2025 10:05:30 +0000 hourly 1 https://wordpress.org/?v=6.7.5 By: Marinko https://code-maze.com/csharp-structures/#comment-415 Thu, 04 Oct 2018 06:31:00 +0000 https://code-maze.com/?p=4559#comment-415 In reply to Ben Letto.

Thank you Ben for this. It is great to know stuff like that. All the best.

]]>
By: Ben Letto https://code-maze.com/csharp-structures/#comment-414 Thu, 04 Oct 2018 06:21:00 +0000 https://code-maze.com/?p=4559#comment-414 The downside of classes is that both code and data are thrown onto the heap…with a struct, only data is allocated. So if your class has many methods, and you start allocating many instances of the class, your memory will take a hit.

]]>