dotnetomaniak.pl - Artykuły z tagiem listy tymczasowe

How many programmers you know use ‘yield‘? Seriously, if you have an occasion, ask them – I’m afraid you will notice a strange thing – everybody heard about it but (almost) nobody (including me) uses it. Time to change it! Why? Because ‘yield‘ was introduced in C# 2.0 (yeeeah, it’s that old!) and can help you get rid of some of the ‘temp’ collections in your code and, what’s more important, it may prevent you from System.OutOfMemory exception.

Let’s make ‘yield return’ our best friend! – A Girl Among Geeks

Daj się poznać 2017 2760 dni, 21 godzin, 29 minut temu AGirlAmongGeeks 206 źrodło rozwiń