title: Emacs csharp-mode disable auto-pair braces
body: <p>When editing a C# file using <code>csharp-mode</code>, every time I type an open brace <code>{</code> a closing brace <code>}</code> is automatically added on a new line. I'd like to disable this in my <code>.emacs</code> file.</p>
  
  <p>Could someone advise how to do this.</p>
  
  <p>I have tried </p>
  
  <pre><code>(setq electric-pair-mode nil) 
  </code></pre>
  
  <p>but this fails to make a difference.</p>