using
System;
using
System.Globalization;
class
GFG {
public
static
void
Main()
{
get
(
new
DateTimeOffset(2007, 6, 1, 7,
55, 0,
new
TimeSpan(-5, 0, 0)));
get
(
new
DateTimeOffset(2017, 6, 1, 7,
55, 0,
new
TimeSpan(-5, 0, 0)));
}
public
static
void
get
(DateTimeOffset offset)
{
int
value = offset.GetHashCode();
Console.WriteLine(
"HashCode for DateTimeOffset is: {0}"
, value);
}
}