Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS0021
Cannot apply indexing with [] to an expression of type '{0}'