Why a SWITCH...CASE not taking 'char'?
<p>I have two questions with this code:</p>

<pre><code>public int InsertOrUpdateRecord(char _code, string _databaseFileName)
{

   switch(_code)
   {
      case 'N':
           // Some code here

       case 'U':
           // Some code here
   }
       return 0;
}
</code></pre>

<ol>
<li>It is not accepting <strong>char</strong> single quote and double quote value.</li>
<li>If I pass _code as <strong>string</strong>, it gives red underline in <em>case</em> with this error:</li>
</ol>

<p><strong>Control cannot fall through one case label to another.</strong></p>
