title: Sum bytes in C#
body: <p>I translated this line of code from Delphi:</p>
  
  <pre><code>byteSendData[4] := (byteSendData[1] + byteSendData[2] + byteSendData[3]) Mod 256;
  </code></pre>
  
  <p>into this in C#:</p>
  
  <pre><code>byteSendData[4] = (byteSendData[1] + byteSendData[2] + byteSendData[3]) % 256;
  </code></pre>
  
  <p>but VS returns me error I can't implicitly convert type 'int' into 'byte'. </p>