title: Use of unassigned variable (string)
body: <p>I have a piece of code that iterates over XML attributes:</p>
  
  <pre><code>string groupName;
  do
  {
      switch (/* ... */)
      {
          case "NAME":
              groupName = thisNavigator.Value;
              break;
          case "HINT":
              // use groupName
  </code></pre>
  
  <p>But this way I get the error of using an unassigned variable. If I assign something to groupName then I cannot change it because that's how the strings work in C#. Any workarounds ?</p>