how do you take a string then organize the words in it with how many times the word occurs in c#? : <p>ok I have no idea on how to do this and i have tried looking up how to do this but nothing good came up so ill ask it here. So what i am trying to do is: </p>

<pre><code>string input = TextEditor.text;    &lt;-- this is in windows form application and
The "TextEditor" is the textbox for input
</code></pre>

<p>i want to take the string (which is input from the texct box) then split it so each word is on every other line like so:</p>

<p>if input = "hi my name is is" </p>

<p>out put should be: </p>

<pre><code>hi: 1
my: 1
name: 1
is: 2 &lt;-- if the word is said it shouldn't be repeated.
</code></pre>

<p>could someone please help me? I am a true newbie and i am completely lost. I don't have any code yet because I DONT KNOW HOW TO DO THIS!</p>
