Code Analysis ReferenceFixesCS0708On this pageCS0708PropertyValueTitle'field': cannot declare instance members in a static class.SeverityErrorCode FixesAdd 'static' modifierMake containing class non-staticSee AlsoOfficial Documentation