Browse by Tags

All Tags » Pontification » C# (RSS)

Dispose Pattern and “Set large fields to null”

I was involved in a short side discussion about “should” fields be set to null in the Dispose method(s).  I’m not sure what the impetus of the question was; but, if you read through the dispose pattern MSDN documentation (in most versions I believe...

Pontificating Virtual Parameterized Constructors in C#

Tom Hollander recently posted about a change he required to the Enterprise Library for date/time validation. He had to create a new class (rather than modify the Enterprise Library) that derived from another, defective class. One of his complaints was...

My Wishlist for C# 4

[Edit: fixed the not-ready-for-publication problems] There seems to be more than few people blogging about what they hope C# 4 will do for them. I haven't seen one that really synchronizes with my thoughts, so I'd thought I'd post my own list...
Posted by PeterRitchie | 10 comment(s)
Filed under: , ,