How to get powered list of a string in C#
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4290889/get-all-possible-word-combinations">Get all possible word combinations</a>  </p>
</blockquote>



<p>I want to get a "power list" of a string.  So given this input:</p>

<pre><code>string[] s = new string[] { "a", "b", "c" } ;
</code></pre>

<p>The function would return:</p>

<pre><code>string[] s = new string[] { "a", "b", "c", "ab", "ac", "bc", "abc" } ;
</code></pre>

<p>How can I do this ?</p>
