IShiftOperators<TSelf,TOther,TResult>.LeftShift(TSelf, TOther) Operator
In this article
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shifts a value left by a given amount.
public:
static TResult operator <<(TSelf value, TOther shiftAmount);
public static abstract TResult operator <<(TSelf value, TOther shiftAmount);
static member ( <<< ) : 'Self * 'Other -> 'Result
Public Shared Operator << (value As TSelf, shiftAmount As TOther) As TResult
- value
- TSelf
The value that is shifted left by shiftAmount
.
- shiftAmount
- TOther
The amount by which value
is shifted left.
TResult
The result of shifting value
left by shiftAmount
.
Applies to
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: