C# UInt64 Equals(Object)
Description
UInt64 Equals(Object)
returns a value indicating whether
this instance is equal to a specified object.
Syntax
UInt64.Equals(Object)
has the following syntax.
public override bool Equals(
Object obj
)
Parameters
UInt64.Equals(Object)
has the following parameters.
obj
- An object to compare to this instance.
Returns
UInt64.Equals(Object)
method returns true if obj is an instance of UInt64 and equals the value of this instance;
otherwise, false.
Example
// w w w . j av a2 s .co m
using System;
public class MainClass{
public static void Main(String[] argv){
System.Console.WriteLine(UInt64.MaxValue.Equals((object)UInt64.MinValue));
}
}
The code above generates the following result.