All too often do I attempt to add a new project to my solutions....who doesn't? Upon viewing the code window, however, I am greeted by the all-to-familiar, yet undesired VB.NET code. Now, I'm not saying that VB is bad or undesirous (I happen to very much like the non-.NET varieties), but I was expecting to see C# code. I guess I get too wrapped up in selecting 'Windows Application' or 'ASP.NET Web Application' and not paying attention to the type of project being created. Then I have to go remove the project from the solution and delete the new project directory before adding the C# project in its stead.
All this because VB.NET appears before C# in the Project Types list and is selected by default (of course if you've installed SQL Reporting Services, this isn't as much of an issue because 'Business Intelligence Projects' is the default. Of course if VS.NET were polite enough to ask if I really, really wanted to create a VB.NET project in the first place, this wouldn't be an issue...but I digress).
As it turns out, you can rearrange the order in which these appear by opening the registry (via regedit, et al) and opening the key HKLM\SOFTWARE\Microsoft\VisualStudio\7.1\NewProjectTemplates\TemplateDirs. Within this key exists several sub keys, each named with a GUID. Beneath each GUID is a key named 1 or /1 or /2. These contain a SortPriority DWORD value. The lower the value, the higher on the list the specified project file appears.
I simply swapped the C# value (20) with the VB.NET value (10) and now C# appears higher on my list and more to my liking. 