# Rational.Equality Operator (Rational, UInt64)

**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 a rational number is equal to an unsigned long integer.

This API is not CLS-compliant.

**Namespace:**Microsoft.SolverFoundation.Common

**Assembly:**Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

#### Parameters

- rat
- Type: Microsoft.SolverFoundation.Common.Rational

A rational value.

- n
- Type: System.UInt64

An unsigned long integer value.

#### Return Value

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

- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Show: