IAdditionOperators<TSelf,TOther,TResult> Interface
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.
Defines a mechanism for computing the sum of two values.
generic <typename TSelf, typename TOther, typename TResult>
where TSelf : IAdditionOperators<TSelf, TOther, TResult>public interface class IAdditionOperators
C#
public interface IAdditionOperators<TSelf,TOther,TResult> where TSelf : IAdditionOperators<TSelf,TOther,TResult>
type IAdditionOperators<'Self, 'Other, 'Result (requires 'Self :> IAdditionOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IAdditionOperators(Of TSelf, TOther, TResult)
- TSelf
The type that implements this interface.
- TOther
The type that will be added to TSelf
.
- TResult
The type that contains the sum of TSelf
and TOther
.
- Derived
Addition(TSelf, TOther) |
Adds two values together to compute their sum. |
Checked |
Adds two values together to compute their sum. |
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: