Why does release mode affect on Thread.CurrentThread.CurrentCulture?
<p>I have ASP .NET application.
I set culture in Application_Begin request:</p>

<pre><code>System.Threading.Thread.CurrentThread.CurrentCulture = myCulture;
System.Threading.Thread.CurrentThread.CurrentUICulture = myCulture;
</code></pre>

<p>When I get current culture from page, it is <code>myCulture</code> in debug mode and it is "en-GB" in release mode.</p>

<p>I don't understand why Release mode affects on <code>Thread.CurrentThread.CurrentCulture</code></p>

<p>I use VS2010 and .NET 4.0</p>

<p>Thanks</p>
