Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0723
Cannot declare a variable of static type '{0}'