dotnetomaniak.pl - Artykuły z tagiem var keyword

Recently, I had quite an interesting discussion about var keyword in C#. Basically, my interlocutor tried to convince me that using var we drastically reduce code readability, so we should only use that together with anonymous types. He also mentioned performance and that some operations cannot be done using implicit typing. Well, if you’ve been reading my blog for some time, you’ve probably spotted that I’m a big fan of vars, and I put them every time it’s possible. B...

Źródło: foreverframe.net
Dziel się z innymi:
To var or not to var? - Forever F[r]ame

Sztuka programowania 2323 dni, 14 godzin, 32 minuty temu dpawlukiewicz 270 źrodło rozwiń

Najaktywniejsi w tym miesiącu