📜 ⬆️ ⬇️

English Exceptions in .NET

It annoys me when there is a localized translation in the explanation of the exception. The error to google 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.

')

Source: https://habr.com/ru/post/86423/


All Articles