Compiler Error CS1513
} expected
The compiler expected a closing curly brace (}
) that was not found.
The following sample generates CS1513:
// CS1513
namespace y // CS1513, no close curly brace
{
class x
{
public static void Main()
{
}
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: