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

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,078
Latest member
MakersCBDBlood

Latest Threads

Top