DateTime

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top