C# Compiler Error – CS0423 since ‘{1}’ has the comimport attribute,

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

C# Compiler Error Code

CS0423

C# Compiler Description for the Code :CS0423

Since ‘{1}’ has the ComImport attribute, ‘{0}’ must be extern or abstract