System.UInt32.Equals Method

Returns a value indicating whether this instance is equal to a specified uint.

Syntax

public bool Equals (uint obj)

Parameters

obj
A value to compare to this instance.

Returns

true if obj has the same value as this instance; otherwise, false.

Remarks

This method implements the IEquatable`1 interface, and performs slightly better than uint.Equals(object) because it does not have to convert the obj parameter to an object.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0