title: finding all subsets of a set(sentence) using c#
body: <p>How can i find all subsets of a set using c#? here set is a sentence(string).for example:
  s="i am nik";What will be the code for that?</p>
  
  <p>here the subsets of s will be-> i, am, nik, i am, i nik, am nik, i am nik.</p>