English Exceptions in .NET

    How annoying it is when a localized translation goes on in an explanation of an exception. Googling a mistake becomes much more difficult.

    But, as it turned out, you can google how to chop off the localization of exceptions:

    Thread.CurrentThread.CurrentUICulture = new CultureInfo( "en-US" );

    All exceptions are now English.

    Also popular now: