• Sign In
 
  • MSDN Blogs
  • Microsoft Blog Images
  • More ...
Search
  • Advanced search options...
Tags
  • .NET
  • Altova
  • blogging
  • code samples
  • Codeplex
  • Custom XML
  • DII
  • DIS29500
  • ECMA-376
  • IBM
  • Java
  • Monarch
  • ODF
  • Office 2007
  • OpenXMLDeveloper.org
  • PHP
  • Redmond
  • SharePoint
  • System.IO.Packaging
  • TechEd
  • UOF
  • VSTO
  • Windows
  • WordprocessingML
  • workshops
Archives
Archives
  • January 2012 (1)
  • October 2011 (1)
  • July 2011 (2)
  • April 2011 (1)
  • March 2011 (3)
  • December 2010 (1)
  • August 2010 (1)
  • June 2010 (1)
  • May 2010 (1)
  • April 2010 (3)
  • March 2010 (1)
  • November 2009 (4)
  • October 2009 (1)
  • September 2009 (2)
  • July 2009 (2)
  • June 2009 (4)
  • May 2009 (5)
  • April 2009 (4)
  • March 2009 (4)
  • February 2009 (2)
  • January 2009 (4)
  • December 2008 (4)
  • November 2008 (3)
  • October 2008 (4)
  • September 2008 (3)
  • August 2008 (2)
  • July 2008 (5)
  • June 2008 (7)
  • May 2008 (5)
  • April 2008 (8)
  • March 2008 (14)
  • February 2008 (15)
  • January 2008 (13)
  • December 2007 (12)
  • November 2007 (5)
  • October 2007 (9)
  • September 2007 (6)
  • August 2007 (10)
  • July 2007 (9)
  • June 2007 (8)
  • May 2007 (12)
  • April 2007 (14)
  • March 2007 (12)
  • February 2007 (10)
  • January 2007 (17)
  • December 2006 (14)
  • November 2006 (10)
  • October 2006 (11)
  • September 2006 (12)
  • August 2006 (12)
  • July 2006 (12)
  • June 2006 (23)
  • May 2006 (14)
Common Tasks
  • Blog Home
  • Email Blog Author
  • About
  • RSS for comments
  • RSS for posts

C# Conventions and Project MRU Cleaner

Doug Mahugh - Office Interoperability
MSDN Blogs > Doug Mahugh > C# Conventions and Project MRU Cleaner

C# Conventions and Project MRU Cleaner

Doug Mahugh
13 Jul 2006 1:02 PM
  • Comments 1

I had a lively conversation with my manager yesterday afternoon about C# programming conventions. I was arguing for clarity and readability, and he was arguing for consistency with prevailing C# coding conventions. I'm a big fan of using white space to aid readability, in all forms of written communication, and I've always felt source code should be written for humans first, compilers second. (Back in the old days, this was derisively referred to as "pretty-printing" by those who didn't agree.)

But after pondering this a bit more, I've decided he's right. I don't want my code samples to stand out as being anything unusual in their syntactical details -- if that's true, then the presentation itself is interferring with readability by distracting the reader. When in Rome, as they say.  So I looked at some internal references, and I got online and ordered a copy of Krzysztof Cwalina's "Framework Design Guidelines" this morning.

Then I went through my current projects and started cleaning up a few things. One thing was messier than I expected, though: cleaning up my "Recent Projects" list in Visual Studio. But I did a bit of searching, and found an simple handy add-in tool for doing exactly that: Project MRU Cleaner.

Check it out if you're interested in tidying up your projects list. It's quick and simple, and it just adds a "Clear Recent Projects" entry to your File menu in VS. Each project has a checkbox next to it, and you can check off which ones to remove from the list. There's even a "Clear and Restart" button, since VS requires a restart to refresh the list.

If you're doing a demo, this tool is a handy way to remove all those things like "MyDemoVersion47" from the list and make it look like you got it right the first time. :-)

Speaking of which, I'm hoping to have my CreateXlsx code ready to post "real soon now" ...

  • 1 Comments
.NET, C#
Comments
  • Doug Mahugh C Conventions and Project MRU Cleaner | Wood TV Stand
    1 Jun 2009 2:25 PM

    PingBack from http://woodtvstand.info/story.php?id=2670

Page 1 of 1 (1 items)
  • © 2012 Microsoft Corporation.
  • Terms of Use
  • Trademarks
  • Privacy Statement
  • Report Abuse
  • 5.6.402.223