What does the operator “<<” mean in C#?

前端 未结 9 1119
无人共我
无人共我 2020-12-05 22:57

I was doing some basic audio programming in C# using the NAudio package and I came across the following expression and I have no idea what it means, as i\'ve never seen the

9条回答
  •  攒了一身酷
    2020-12-05 23:50

    Shift left (and the counterpart, Shift right) moves the bits in the given direction.

    Shift left is more or less times 2, but faster

    Shift right is more or less divided by 2, but faster

提交回复
热议问题