title: obtaining the Windows Time Zone index when using TimeZoneInfo.GetSystemTimeZones();
body: <p>so something I've been struggling with is pulling a list of time zones in .net 4 (C#) to populate a drop down list on a form. I know I can do this:</p>
  
  <pre><code>var TimeZoneList = TimeZoneInfo.GetSystemTimeZones();
  </code></pre>
  
  <p>which will retrieve a list of time zones in a TimeZoneInfo class which has an 'Id' property. The ID is not the Microsoft time zone index though. </p>
  
  <p>For example, with eastern time, the 'Id' is simply 'Eastern Standard Time' where as the internal index is '35'. (The rest of the indices are here: <a href="http://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/ms912391(v=winembedded.11).aspx</a>)</p>
  
  <p>Is there some way to get these indices from the TimeZoneInfo.GetSystemTimeZones() or is there some other method I can call to find those? I know I can just make a switch case or a bunch of if statements to check each ID and match up an index value, but I'm thinking there has to be a better way.</p>
  
  <p>Thanks!</p>