C# Compiler Warning – CS1998 this async method lacks ‘await’ operator

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

C# Compiler Warning Code

CS1998

C# Compiler Description for the Code :CS1998

This async method lacks ‘await’ operators and will run synchronously. Consider using the ‘await’ operator to await non-blocking API calls, or ‘await Task.Run(…)’ to do CPU-bound work on a background thread.