Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Equality Operator (UInt32, Rational)

Rational.Equality Operator (UInt32, Rational)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a value that indicates whether an unsigned integer is equal to a rational number.

This API is not CLS-compliant. The CLS-compliant alternative is .

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public static bool operator ==(
	uint n,
	Rational rat
)

Parameters

n
Type: System.UInt32
An unsigned integer value.
rat
Type: Microsoft.SolverFoundation.Common.Rational
A rational value.

Return Value

Type: System.Boolean
true if the n parameter is equal to the rat parameter; otherwise, false.

Show:
© 2015 Microsoft