Posts by TonySniper • 153 points
1 post
-
5
votes2
answers281
viewsQ: Yield Return inside a using
Consider the following situation: public class MeuRecursoBemCaro : IDisposable { public T FazerOperacaoBemCara(T item) { //Do operação } public void Dispose() { //Dispose logic } } public…