C# UInt32 Equals(UInt32)
Description
UInt32 Equals(UInt32)
returns a value indicating whether
this instance is equal to a specified UInt32.
Syntax
UInt32.Equals(UInt32)
has the following syntax.
public bool Equals(
uint obj
)
Parameters
UInt32.Equals(UInt32)
has the following parameters.
obj
- A value to compare to this instance.
Returns
UInt32.Equals(UInt32)
method returns true if obj has the same value as this instance; otherwise, false.
Example
using System;/*from ww w.j a v a 2 s. co m*/
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(UInt32.MinValue.Equals((UInt32)123));
}
}
The code above generates the following result.