title: Mathematical modulus in c#
body: <p>Is there a library function in c# for the mathematical modulus of a number - by this I specifically mean that a negative integer modulo a positive integer should yield a positive result.</p>
  
  <p>edited to provide an example: </p>
  
  <p>-5 modulo 3 should return 1</p>