BCL Team Blog
Base types, Collections, Diagnostics, IO, RegEx...
SafeHandles: the best V2.0 feature of the .NET Framework [Ravi Krishnaswamy]
Rather than giving a short response to Jeff Atwood's question, 'If you had to pick one, what is the...
Author: BCL Team Date: 03/15/2005
.NET Regular Expressions: Regex and Balanced Matching [Ryan Byington]
One of the questions that seems to come up a lot is that someone wants to match balanced...
Author: BCL Team Date: 03/15/2005
Potential additions to the Math class [Katy King]
In preparation for the next version of the product, we've collected suggestions for additions to the...
Author: BCL Team Date: 03/15/2005
.NET Regular Expressions: how to use RegexOptions.IgnorePatternWhitspace [Ryan Byington]
The IgnorePatternWhitespace option tells the Regex parser to ignore any spaces or tabs in your...
Author: BCL Team Date: 03/15/2005
DirectoryInfo.Name lacks security checks [Ravi Krishnaswamy]
This came out of one of our internal security review. I thought I would post it here for beware...
Author: BCL Team Date: 03/15/2005
What are the New DateTime Features in Whidbey [Anthony Moore]
What are the New DateTime Features in Whidbey [Anthony Moore] DateTime has received quite a number...
Author: BCL Team Date: 03/15/2005
IO Exceptions will now reveal FullPath (if you have PathDiscovery access) [Ravi Krishnaswamy]
You might start noticing that in Whidbey Beta2, IO exceptions are handing out full qualified path...
Author: BCL Team Date: 03/15/2005
A Tracing Primer - Part I [Mike Rousos]
One of the changes in Whidbey will be a revamped tracing system. Much is unchanged - tracing...
Author: BCL Team Date: 03/15/2005
Writing a Useful Windows Service in .NET in Five Minutes [Dave Fetterman]
When opening up a new project in Visual Studio, one finds many, many options for deploying your new...
Author: BCL Team Date: 03/15/2005
Testing Managed ACL for IO [Lakshan Fernando]
One of the common requests we had after we shipped V1.1 was on managed ACL support for the...
Author: BCL Team Date: 03/15/2005
Synchronization in Generic Collections [Brian Grunkemeyer]
A few astute users of our generic collections observed that we no longer provide a public SyncRoot...
Author: BCL Team Date: 03/15/2005
Fixing bugs with compatibility in mind - an IO experience [Lakshan Fernando]
The current focus on the team is bug-fixing, but every so often we get a bug that may cause...
Author: BCL Team Date: 03/15/2005
Best V2.0 feature in the .NET Framework: A BCL Poll [Kit George]
OK, in response to Jeff Atwood’s questions:“If you had to pick one, what is the single...
Author: BCL Team Date: 03/15/2005
Come and Meet the CLR team! [Kit George]
The CLR team would love to meet any interested parties who are in the Seattle area, to chat about...
Author: BCL Team Date: 03/15/2005
The .NET Vision (aka: the big picture): what are we working towards? [Kit George]
In response to the query for input on what to blog about today, David asked the following question:...
Author: BCL Team Date: 03/15/2005
An intro to CodeDom [David Gutierrez]
I recently gave a talk on CodeDom for compiler writers, and I thought I would adapt some of those...
Author: BCL Team Date: 03/15/2005
The Base Class Library Program Manager (PM): a job description [Kit George]
I posted a while back on a job opening for a BCL PM position. We got a lot of great candidates in...
Author: BCL Team Date: 03/15/2005
PerformanceCounters: reading the disk counters [David Gutierrez]
I see a lot of complaints about counters in the Logical Disk/Physical Disk categories always...
Author: BCL Team Date: 03/15/2005
The SLAR on System.Convert [Brad Abrams]
It is been a while sense I posted in the series sharing some of the information in the .NET...
Author: BCL Team Date: 03/15/2005
New Format on the Block [Anthony Moore]
One thing that has not changed much in Whidbey is the set of format strings used by base data types...
Author: BCL Team Date: 03/09/2005
BCL, Blog Day! Tuesday 3/15/2005 (next week) [Kit George]
A heads-up all. The BCL has a chance next week to provide some added value, and we thought we'd keep...
Author: BCL Team Date: 03/09/2005
How to Work Around Problems Serializing DateTime in XML [Anthony Moore]
I wrote a while ago about problems with the way DateTime worked with features like DataSet, XML...
Author: BCL Team Date: 03/07/2005
Exceptions and Memory Management [Kit George]
Brad Abrams recently put together a slide deck on the topics of Exceptions, and Memory Management...
Author: BCL Team Date: 03/07/2005
A list of CLR bloggers [Kit George]
Shawn Farkas has made a list of various bloggers from the CLR, so you can know who the best personis...
Author: BCL Team Date: 02/25/2005
Knowing when NOT to use RegEx to match Strings (System.Text.RegularExpressions) [Kit George]
We recently got asked this question by a customer: "In C#, how do I ensure that a string entered...
Author: BCL Team Date: 02/21/2005
A Breaking Change we did in StringBuilder [Kit George]
Once again, we continue to have robust, passionate discussions around the breaking change bar for...
Author: BCL Team Date: 02/17/2005
Using Reflection to help formulate design guidelines [Kit George]
So I thought I would share some code I wrote today, to help me formulate a design guideline. I'm...
Author: BCL Team Date: 02/15/2005
String.Split and and some more robust behavior [Kit George]
We get a lot of people pointing out a fundamental design issue with String.Split: when you do your...
Author: BCL Team Date: 02/14/2005
Performance of IConvertible operations: which operation is fastest? [Kit George]
I saw this question recently: "Double d = ((IConvertible) o).ToDouble(...
Author: BCL Team Date: 02/11/2005
And we're off! TechEd 2005 Frameowkr planning is ON [Kit George]
Well, we're starting to plan aroudn the sessions for teched 2005, and as usual, we have a tremendous...
Author: BCL Team Date: 01/21/2005
An inside look at the Base Class Libraries Team on Channel 9! [Kit George]
Microsoft's channel 9 recently came by and did a video of the BCL team. The first video is now...
Author: BCL Team Date: 01/14/2005
An explanation of GetInvalidPathChars in System.IO, and a nod to GetInvalidFileNameChars [Kit George]
Something that a lot of people note with the Path class is that it has a method called...
Author: BCL Team Date: 01/11/2005
ResourceManager Video Presentation [Brian Grunkemeyer]
Ahmed & I did a video presentation on System.Resources and how to use the ResourceManager for...
Author: BCL Team Date: 01/10/2005
Extra! Extra! Generics CLS-compliant in Whidbey! [Peter Drayton]
As you may have already heard, the November CTP of Visual Studio 2005 Standard Edition was posted...
Author: BCL Team Date: 12/21/2004
DateTime Parsing and Formatting with Time Zones [Anthony Moore]
Here is a new DateTim FAQ entry. What is the relationship between DateTime parsing and formatting...
Author: BCL Team Date: 12/20/2004
A short note about Buffer.BlockCopy [Gang Peng]
Buffer.BlockCopy has following signature:public static void BlockCopy(Array src, int srcOffset,...
Author: BCL Team Date: 12/07/2004
Dead C Hacks: Reallocating or Changing an object's type in place in .NET? [Brian Grunkemeyer]
I was recently asked if there was a way to reallocate an object on top of another one, or to change...
Author: BCL Team Date: 12/02/2004
Get More information about Processes [Gang Peng]
System.Diagnostics.Process class provides APIs to get lots of information about Process, but it...
Author: BCL Team Date: 12/02/2004
Posted an article about System.Collections.ArrayList performance [Gang Peng]
https://blogs.msdn.com/bclteam/articles/273454.aspx
Author: BCL Team Date: 12/01/2004
System.Collections.ArrayList performance analysis
ArrayList is one of the most commonly used data structure. However there is little information about...
Author: BCL Team Date: 12/01/2004
Managed Service Timeout during startup [Gang Peng]
It is not an easy job to write a windows service in unmanaged. There are many guidelines you need to...
Author: BCL Team Date: 12/01/2004
New MSIL & Subset CodeDom Provider samples [Peter Drayton]
There's a fair bit written about using CodeDom, but samples showing how to implement your own...
Author: BCL Team Date: 11/29/2004
Issues with Console APIs when stdout is redirected to a file [Ravi Krishnaswamy]
When you redirect stdout of your consoleapp to a file, you can expect that a number of Console APIs...
Author: BCL Team Date: 11/24/2004
Amusing thoughts before the holidays [Kit George]
We happened to discuss the new naming guideline for generics today, and for whatever reason, or...
Author: BCL Team Date: 11/24/2004
Some updated FAQs available on our website
Anthony Moore has updated the Numeric Types FAQ, and the Date and Time FAQ on our webiste. Check out...
Author: BCL Team Date: 11/19/2004
.NET Arrays, IList, Generic Algorithms, and what about STL? [Brian Grunkemeyer]
When we were designing our generic collections classes, one of the things that bothered me was how...
Author: BCL Team Date: 11/19/2004
Array.IndexOf performance caveat[Gang Peng]
Array.IndexOf are “generic” methods to search for an item in an one dimensional array....
Author: BCL Team Date: 11/18/2004
Path.GetDirectoryName [Ravi Krishnaswamy]
Clarifying the behavior of Path.GetDirectoryName. This is a convenient string parsing method to get...
Author: BCL Team Date: 11/16/2004
Regular Expression performance [David Gutierrez]
I often get questions about Regex and what the RegexOptions.Compiled flag actually does. There are...
Author: BCL Team Date: 11/12/2004