Welcome to MSDN Blogs Sign in | Join | Help

May 2007 - Posts

String.Compare() != String.Equals() [Josh Free]

System.String contains the static methods ‘Compare’ and ‘Equals’ which are used for string comparison. public static int Compare( string strA, string strB) public static bool Equals( string a, string b) These two methods perform two very different kinds
Posted by BCLTeam | 11 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:

The RegexOptions.Compiled Flag and Slow Performance on 64-Bit .NET Framework 2.0 [Josh Free]

Developers using System.Text.RegularExpressions.Regex with the RegexOptions.Compiled flag may notice performance degradation in their 2.0 apps when running on 64-Bit .NET Framework 2.0 . The performance problem occurs in the Regex(String pattern, RegexOptions
Posted by BCLTeam | 6 Comments
Filed under:

System.IO.Compression Capabilities [Kim Hamilton]

We often get asked about the capabilities of the .NET compression classes in System.IO.Compression. I'd like to clarify what they currently support and mention some partial workarounds for formats that aren't supported. The .NET compression libraries
Posted by BCLTeam | 16 Comments
Filed under: , ,

Linq Support in Silverlight 1.1 Alpha [Kim Hamilton]

Linq is one of the many .NET features we're pleased to include in the Silverlight 1.1 Alpha release . Linq in Silverlight supports key Linq-to-Object scenarios available in the desktop version, such as queries built on IEnumerable and the ability to implement
Posted by BCLTeam | 2 Comments
Filed under:
 
Page view tracker