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