Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
C# Create a Task, StartTask, and EndTask
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Moni Singh
10y
849
1
Reply
private SomeTask _someTask
public bool NewTask()
{
this._someTask.Task = new Tasks()
{
taskName = "Some New Task",
startDate = DateTime.Now,
endDate = DataTime.Now.AddDays(30)
};
//then the task gets inserted into the database
return true;
}
public void StartNewTask()
{
//Check to see if the task is created
//send a notification
}
public void EndTask()
{
//Cleans up the task, and marks it as done
}
I need help with the StartNewTask() and EndTask(), I am not sure how to complete those two methods. Would someone please help me go the right direction?
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
How to custom controls in c#
C# - How to run multiple tasks on specific multiple cores