Listing of Managed Processes

I just discovered a cool way of listing all processes that run managed code.    using System.Diagnostics; using System;   class Program {       static void Test() {         PerformanceCounterCategory clr = new PerformanceCounterCategory(“.NET CLR Memory”);         foreach(string process in clr.GetInstanceNames()) {             if(process != “_Global_”) {                 Console.WriteLine(process);             }         }    …

24

Rationale for Generic Type Parameter Naming Guidelines

The recent type parameter naming guidelines update resulted in a very lively discussion. I thought I would provide some rational for the recent changes. But first, I would like to first thank all of you who got involved in the debate. We have had debates like that for ages about many issues related to our products,…

8

Power Collections on GotDotNet Featured Sites

I just noticed that the Power Collections project made it to the “Featured Sites” on GotDotNet. See http://www.gotdotnet.com/content/featuredsite/powercollections/default.aspx   For those who don’t know, Power Collections is a community open source library of advanced collection classes and algorithms. The project is co-sponsored by Microsoft. It has generated lots of good APIs (you can download a…

1

Design Guidelines Update: Names of Generic Type Parameters

After receiving lots of feedback from internal and external community (see here for example), we decided to modify the generic type parameter naming guidelines. The previous guidelines allowed only single letter type parameter names. The new guidelines allow and even encourage descriptive names.   Here are the new guidelines. Names of Generic Type Parameters Do…

75