Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0708
'{0}': cannot declare instance members in a static class