Gnanavel Sekar

Gnanavel Sekar

  • NA
  • 8.4k
  • 7.1m

When to use the Task.Run and TaskFactory.StartNew()

Jul 17 2017 2:51 AM
Hi,
 
I need to know two things 
 
1.I would like to know which is best to use either Task.Run or TaskFactory.StartNew(), When to use this in async Programming, What are all the Main Difference?, Can you anyone Give me the list of valid points.
 
2. Can we use all method as Task in WPF, is there any dis-advantages available while am using all method as Task in WPF?
 
 
Thanks in Advance.