Dan Crevier's Blog

In search of a better name...

Browse by Tags

Tagged Content List
  • Blog Post: Implications of the just in time nature of LINQ

    I love LINQ! I’ve found that much of the code I write involves manipulating collections in ways that can be very naturally expressed in LINQ. One interesting aspect of LINQ is that things are evaluated just in time as you enumerate over them. This can have a few unexpected consequences. Here are a couple...
  • Blog Post: Yield and usings - your Dispose may not be called!

    We ran into an interesting bug recently where a resource was being leaked because we weren't disposing of an IDisposable in some cases. Before I go any further I should state that the root bug is that the IDisposable hanging onto the resource should have implemented a finalizer, or even better, used...
Page 1 of 1 (2 items)