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>d = string.Join(null, c.Split(null)); //null is your separator where you can change it to " "</p>

c# python