well im aware of the benefit of using using lol
however i didnt know that C# handled garbage collection that way
Knowing that bit now I would say yes you could get away with it however there would be cases where it would be lethal not to
cases where you suddenly read in a whole lot of information and run them through a slew of temporary variable declarations
(like reading in a LOT of save data)
or something along those lines
its just one of those added optimizations you can do
like StringBuilder
though tbh a person can spend months optimizing the hell out of a script, i believe there is such a thing as "good enough"
↧