title: How to supress C# warning CS0675 : Bitwise-or operator used on a sign-extended operand
body: <p>I can't seem to get rid of this warning for the following line of code:</p>
  
  <pre><code>d.word[wrdIndex++] = d.GetWord(english) | (ulong)i;
  </code></pre>
  
  <p>the warning applies to the code after the assignment operator. the method GetWord returns a ulong. I've tried the following to no avail:</p>
  
  <pre><code>d.word[wrdIndex++] = (d.GetWord(english) | (ulong)i);
  d.word[wrdIndex++] = d.GetWord(english) | ((ulong)i);
  d.word[wrdIndex++] = ((ulong)d.GetWord(english)) | ((ulong)i);
  </code></pre>
  
  <p>Anyone have any ideas?</p>