MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • Formatting/parsing for a specific culture redux

    In recent blog post I detailed how creating a culture via the CultureInfo constructor could actually create a user-overridden culture--which could be completely different than the culture that you've requested by name. Fortunately there's a way of overriding the user override (apologies for overloading...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 01-22-2008
    Filed under: C#, .NET Development, .NET 2.0, Framework Bugs, DevCenterPost
  • Using Exceptions For Normal Logic Flow

    The generally accepted wisdom is that you shouldn't use Exceptions for normal logic flow. Normal logic flow is a bit subjective; but anything that must happen at least once in all known scenarios is normal logic flow. Enter XML Serialization in the framework. The framework actually dynamically creates...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 10-12-2007
    Filed under: C#, .NET Development, .NET 2.0, Rant
  • Thread.Abort is a Sign of a Poorly Designed Program

    Continuing the theme of Thead.Sleep is a sign of a poorly designed program , I've been meaning to provide similar detail on Thread.Abort and not just allude to it in other posts like 'System.Threading.Thread.Suspend() is obsolete: 'Thread.Suspend has been deprecated... . Many of the concepts...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 08-22-2007
    Filed under: C#, Software Development, .NET 2.0, Design/Coding Guidance
  • Performance Implications of try/catch/finally, Part Two

    In a previous blog entry Performance Implications of try/catch/finally I outlined that the conventional wisdom that there are no performance implications to try blocks unless an exception is thrown is false. I have some clarifications and details to add. My original tests used academic sample code like...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 07-12-2007
    Filed under: C#, .NET Development, .NET 2.0, Design/Coding Guidance
  • Performance Implications of try/catch/finally

    The accepted wisdom regarding performance of try / catch | finally in C# has normally been: try has no performance side-effects unless an exception is thrown. A discussion I was involved in recently caused me to discover some performance implications of try/catch blocks. The discussion revolved around...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 06-22-2007
    Filed under: C#, .NET Development, .NET 2.0, Design/Coding Guidance
  • Changing TextBox Text as an Undo-able Action

    The TextBox class supports undoing the last action--inherited from TextBoxBase . Normally the user does this by pressing the undo key (Ctrl-Z if your keyboard doesn't have a specific Undo key) or by selecting "Undo" from the context menu. The last action can also be undone programmatically by calling...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 09-10-2006
    Filed under: C#, .NET Development, WinForms, Software Development, .NET 2.0
Page 1 of 1 (6 items)


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems