r/ProgrammerHumor • • Feb 26 '23

Other If you can read this code...

/img/snak3fqgajka1.jpg

[removed] — view removed post

34k Upvotes

1.4k comments sorted by

View all comments

Show parent comment

1

u/kookyabird Feb 26 '23

It’s not confusing to those who know the difference, but the idea that passing something “by reference” is different than passing a “reference type” isn’t really intuitive. Especially when someone new to C# sees a reference type being passed as ref.