public void BenchmarkIncrementByIn(int limit) { SixteenBitStructReadonly sixteenBitStruct = new SixteenBitStructReadonly(); int counter = 0; do { IncrementIn(sixteenBitStruct); counter++; }while (limit != counter); }
private void IncrementByRef(ref SixteenBitStructReadonly sixteenBitStruct) { double sum = sixteenBitStruct.D1 + sixteenBitStruct.D2; }