== Why is this an issue? include::../description.adoc[] === Noncompliant code example [source,csharp] ---- public class Empty // Noncompliant { } ---- === Compliant solution [source,csharp] ---- public interface IEmpty { } ---- === Exceptions include::../exceptions-dotnet.adoc[] [source,csharp] ---- using Microsoft.AspNetCore.Mvc.RazorPages; public class EmptyPageModel: PageModel // Compliant - an empty PageModel can be fully functional, the C# code can be in the cshtml file { } ---- ifdef::env-github,rspecator-view[] ''' == Implementation Specification (visible only on this page) include::../message.adoc[] ''' == Comments And Links (visible only on this page) include::../comments-and-links.adoc[] endif::env-github,rspecator-view[]