After reading multiple articles issued at different years I got more confused then before.
I wanted to know how to make sure the tasks I create will run on multiple cores ??
The function below has to handle lots of files being uploaded to the server :
private void FileSystemWatcher_Created(object sender, System.IO.FileSystemEventArgs e)
{
var SyncTask = new Task(() =>
{
//DO A LOT OF WORK HERE
});
SyncTask.Start();
}
I just couldn't find a straight answer if this is the way to go on 4.7.2 .NET framework or not ?