Example #1
0
 public void SwapValues(BitInteger number)
 {
     for (var i = 0; i < IntegerSize; i++)
     {
         var temp = number.Fetch(i);
         number.Set(i, Fetch(i));
         Set(i, temp);
     }
 }
Example #2
0
 public void SwapValues(BitInteger number)
 {
     for (var i = 0; i < IntegerSize; i++)
     {
         var temp = number.Fetch(i);
         number.Set(i, Fetch(i));
         Set(i, temp);
     }
 }