David Klempfner
1 min readApr 25, 2020

Great article. But your diagram could be improved, the arrow pointing from the stack to the heap is not right. The reference for an array is the memory location of the first element in the array, not before the first element.
Also “When you are storing reference types, use a class.” is redundant, because it’s impossible to store a reference type using a struct. A class is a reference type.
Other than that awesome article, thankyou!

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

David Klempfner
David Klempfner

Written by David Klempfner

I’m a software developer who is passionate about learning how things work behind the scenes.

No responses yet

Write a response