title: GetGlobalResourceObject or Resources.Resource - what's better?
body: <p>I have an application that is multilingual. I'm using the out-of-the-box .Net features for this. Each language has its own file in the App_GlobalResources (see iamge below)</p>
  
  <p>In the code behind what is better?</p>
  
  <ol>
  <li>GetGlobalResourceObject("LocalizedText", "ErrorOccured")</li>
  <li>Resources.LocalizedText.ErrorOccured</li>
  </ol>
  
  <p>The 2nd one uses less code and it's type safe, it will return an error during compile time and not run time.</p>
  
  <p><a href="http://img340.imageshack.us/img340/5562/langl.gif" rel="nofollow noreferrer">alt text http://img340.imageshack.us/img340/5562/langl.gif</a></p>