C# Compiler Error – CS8420 the body of an async-iterator method mus

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

C# Compiler Error Code

CS8420

C# Compiler Description for the Code :CS8420

The body of an async-iterator method must contain a ‘yield’ statement. Consider removing ‘async’ from the method declaration or adding a ‘yield’ statement.