I get an error in this code:
public async Task SendEmailsTask(List<string> emails) { for (int i = 0; i < emails.Count; i++) { await Task.Delay(5000); } }
Here is the error:
Severity Code Description Project File Line Source Suppression State Error CS0433 The type 'Task' exists in both 'System.Threading, Version=1.0.2856.102, Culture=neutral, PublicKeyToken=31bf3856ad364e35' and 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
source share