G
Guest
I have the folowing two proerties
private DateTime _LastSyncDate = DateTime.Now
private DateTime _ResyncMinutes;
public DateTime LastSyncDate
{
get { return _LastSyncDate; }
set { _LastSyncDate = value; }
}
public DateTime ResyncMintues
{
get { return _ResyncMinutes; }
set { _ResyncMinutes.AddMinutes(5); }
}
in my Code I want to return bool value if the user call second property that
is 5 mintues more than first property whose value is set to datetime.now.
How can I do that.
private DateTime _LastSyncDate = DateTime.Now
private DateTime _ResyncMinutes;
public DateTime LastSyncDate
{
get { return _LastSyncDate; }
set { _LastSyncDate = value; }
}
public DateTime ResyncMintues
{
get { return _ResyncMinutes; }
set { _ResyncMinutes.AddMinutes(5); }
}
in my Code I want to return bool value if the user call second property that
is 5 mintues more than first property whose value is set to datetime.now.
How can I do that.