How to convert this Python code to c#?
<p>I'm fairly decent at python and just starting to learn C#.</p>

<p>How would i write this peice of python code in c#?</p>

<pre><code> d =" ".join(c.split())
</code></pre>

<p>I'm a c# beginner so nothing too technical please.</p>

<p>As far as I can see</p>

<pre><code> c.split()
</code></pre>

<p>is splitting string <code>c</code> by default - <code></code> (space) - delimiter; C# equivalent is</p>

<pre><code> c.Split(' ');
</code></pre>

<p>Pythonic</p>

<pre><code> " ".join
</code></pre>

<p>is collection joining with <code>" "</code> being the delimiter; C# equivalent is</p>

<pre><code> string.Join(" ", collection);
</code></pre>

<p>Binding all together:</p>

<pre><code> d = string.Join(" ", c.Split(' '));
</code></pre>

c# python