Welcome to MSDN Blogs Sign in | Join | Help

November 2004 - Posts

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 provider have been quite thin on the ground . Fortunately Eden Li , a CLR intern this summer, produced a couple of useful CodeDom provider samples now live on
Posted by BCLTeam | 2 Comments
Filed under:

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 won't work quite right. For ex, MoveBufferArea is an obvious candidate of something that can't be supported. In this situation you will get an IOException
Posted by BCLTeam | 5 Comments
Filed under:

Amusing thoughts before the holidays [Kit George]

We happened to discuss the new naming guideline for generics today, and for whatever reason, or discussion turned to some of the more interesting, and amusing names that could be designed around the decision to use a named generic argument, preceeded
Posted by BCLTeam | 2 Comments

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 the new FAQs at http://msdn.microsoft.com/netframework/programming/bcl/FAQ/ . Note also that if you'd like to see questions answered in these FAQs, just
Posted by BCLTeam | 0 Comments

.NET Arrays, IList<T>, 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 to write a generic algorithm that would work on both arrays and collections. To drive generic programming, of course we must make arrays and generic collections

Array.IndexOf performance caveat[Gang Peng]

Array.IndexOf are “generic” methods to search for an item in an one dimensional array. However since they are generic, there are some performance caveats. Array.IndexOf handles arrays in three different ways: (1) If the array is a SZArray (one dimensional
Posted by BCLTeam | 1 Comments
Filed under:

Path.GetDirectoryName [Ravi Krishnaswamy]

Clarifying the behavior of Path.GetDirectoryName. This is a convenient string parsing method to get the directory path of a file path. It validates neither the given file path nor the returned directory path. This method merely removes the last element
Posted by BCLTeam | 2 Comments
Filed under:

Regular Expression performance [David Gutierrez]

I often get questions about Regex and what the RegexOptions.Compiled flag actually does. There are in fact three different modes that Regex can work in: interpreted (without the compiled flag), compiled on the fly (with the compiled flag), and precompiled
Posted by BCLTeam | 7 Comments
Filed under:

An interesting discussion around a particular Breaking Change: the verdict [Kit George]

Well, I wasn't prepared for the wealth of responses and I can tell you, we absolutely appreciate it. It's great to see a bit of passion around this kind of subject. Result : we're going to say the change is acceptable. We were already leaning towards
Posted by BCLTeam | 0 Comments

Ye' old BCL Dev discusses our classes on .NET Rocks [Kit George]

Jay Roxe used to work on the BCL team as the dev lead, and has a lot of excellent historical knowledge about fundamental classes. He recently gave an interview on .NET Rocks , in which he discusses a wide variety of things, including touching on the internals
Posted by BCLTeam | 2 Comments

An interesting discussion around a particular Breaking Change [Kit George]

So an interesting situation arose today I though I would share with everyone. I'd love your input on this issue as well, if you feel strongly one way or the other. Curiously, the C# compiler (at least) allows you to write the following code: public abstract
Posted by BCLTeam | 13 Comments

An interesting discussion around a particular Breaking Change [Kit George]

So an interesting situation arose today I though I would share with everyone. I'd love your input on this issue as well, if you feel strongly one way or the other. Curiously, the C# compiler (at least) allows you to write the following code: public abstract
Posted by BCLTeam | 26 Comments

Base Class Program Manager position still available [Kit George]

Just wanted to quickly let you know the BCL job opening is still available. There's actually 2 or 3 openings within the CLR at the moment so if you're interested, let us know! Just ping me directly at kitg@microsoft.com , and we'll go from there. The
Posted by BCLTeam | 0 Comments

Guideline update: names of generic parameters[Kit George]

The guidelines for the names of generic parameters have been updated. Read the new approach on Krys's blog at http://blogs.msdn.com/kcwalina/archive/2004/11/03/251722.aspx
Posted by BCLTeam | 1 Comments
 
Page view tracker