What would be difference between the following approach?
Task.Factory.StartNew(() => CustomConnection());
new Thread(CustomConnection).Start();
Both will create the new thread for performing the job. in what sense thread differs from task?
Performance wise which would the better option??