C# Compiler Error – CS8167 cannot return by reference a member of p

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

C# Compiler Error Code

CS8167

C# Compiler Description for the Code :CS8167

Cannot return by reference a member of parameter ‘{0}’ because it is not a ref or out parameter