The type or namespace name ‘Task<>’ could not be found (are you missing a using directive or an assembly reference?)
If you are getting the below error when try to use the Task<>, The type or namespace name ‘Task<>’ could not be found (are you missing a using directive or an assembly reference?)
Solution:
Import the below namespace,
using System.Threading.Tasks;
Leave a comment