The type or namespace name ‘Task<>’ could not be found (are you missing a using directive or an assembly reference?)

less than 1 minute read

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;

Tags:

Categories:

Updated:

Leave a comment