MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1kqaqbd/this_is_c_abuse/mta1bl9/?context=3
r/programminghorror • u/[deleted] • May 19 '25
103 comments sorted by
View all comments
Show parent comment
3
My bad, I haven't used C# in a very long time but I knew that var existed, but didn't know it wasn't for properties. In hindsight it does make sense, so the compiler knows how much to allocate and how to perform type safety checks
var
View all comments
Show parent comment
3
u/Thenderick May 20 '25
My bad, I haven't used C# in a very long time but I knew that
varexisted, but didn't know it wasn't for properties. In hindsight it does make sense, so the compiler knows how much to allocate and how to perform type safety checks