C# Compiler Error – CS1997 since ‘{0}’ is an async method that retu

In this blog post, you’ll learn more about the C# Compiler Error – CS1997 and the related message description

C# Compiler Error Code

CS1997

C# Compiler Description for the Code :CS1997

Since ‘{0}’ is an async method that returns ‘Task’, a return keyword must not be followed by an object expression. Did you intend to return ‘Task’?