Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Compiler Error CS1514

{ expected

The compiler expected an opening curly brace ({) that was not found.

The following sample generates CS1514:

// CS1514.cs
namespace x
// CS1514, no open curly brace
© 2015 Microsoft