title: Get an acronym from a string in C# using LINQ?
body: <p>Here is how I would write a function to make an acronym in Java style:</p>
  
  <pre><code>    string makeAcronym(string str)
      {
          string result = "";
          for (int i = 0; i &lt; str.Length; i++)
          {
              if (i == 0 &amp;&amp; str[i].ToString() != " ")
              {
                  result += str[i];
                  continue;
              }
  
              if (str[i - 1].ToString() == " " &amp;&amp; str[i].ToString() != " ")
              {
                  result += str[i];
              }
          }
  
          return result;
      }
  </code></pre>
  
  <p>Is there a more elegant way I can do it with LINQ, or using some built in C# function?</p>