2 out of 4 rated this helpful - Rate this topic

Compiler Error CS1022

Type or namespace definition, or end-of-file expected

A source-code file does not have a matching set of braces.

The following sample generates CS1022:

// CS1022.cs
namespace x
{
}
}   // CS1022
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ