C# Compiler Error – CS8178 ‘await’ cannot be used in an expression

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

C# Compiler Error Code

CS8178

C# Compiler Description for the Code :CS8178

‘await’ cannot be used in an expression containing a call to ‘{0}’ because it returns by reference