Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » BCL Refresher   (RSS)

Dispose Pattern and Object Lifetime [Brian Grunkemeyer]

The Dispose pattern is the way to think of object lifetime in the .NET Framework. Admittedly, it can be a little subtle. A customer asked a question on our MSDN documentation for implementing the Dispose pattern . I’ll get to this question, but let’s
Posted by BCLTeam | 13 Comments
Filed under:

BCL Refresher: List<T> Predicates [Inbar Gazit]

This time I’m going to focus on one class in this blog post. System.Collections.Generic.List<T> contains some special methods that exist on this type. Those methods take a System.Predicate which is essentially a delegate that allows us to filter

BCL Refresher: Converting the Non-Generic Collections [Inbar Gazit]

As you know generics were only introduced to the .NET Framework in version 2.0. Originally we had a lot of collections in the System.Collections namespace that can store objects. In version 2.0 we added the System.Collections.Generic namespace to support

BCL Refresher: DateTime.ToUniversalTime returns MaxValue/MinValue on overflow [Josh Free]

DateTime. ToUniversalTime converts the value of the current DateTime object to Coordinated Universal Time (UTC). When the converted value is either too large or too small to fit into a DateTime object then MaxValue or MinValue is returned, respectively.
Posted by BCLTeam | 5 Comments
Filed under:

BCL Refresher: Floating Point Types - The Good, The Bad and The Ugly [Inbar Gazit, Matthew Greig]

So here is another BCL refresher on the topic of floating point types in the BCL. Believe it or not, we have 3 different floating point types: Single (float) Double and Decimal. Each has their own characteristics and abilities and so let’s try to learn
Posted by BCLTeam | 9 Comments
Filed under:

BCL Refresher: System.Diagnostics.Debug class [Inbar Gazit]

Many people told me that they would like to see more blog entries. Not only about the new cool stuff that's coming but also about the old established stuff that's maybe a tad forgotten. So, with the BCL refresher series we're going to go back to talk
 
Page view tracker