Rational.Equality Operator (Int32, 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 integer is equal to a rational number.

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

public static bool operator ==(
	int n,
	Rational rat


Type: System.Int32
An integer.
Type: Microsoft.SolverFoundation.Common.Rational
A rational number.

Return Value

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