"; expected" error c#$ code example
Example 1: c# error ) expected
// CS1513
namespace y // CS1513, the namespace has no close curly brace
{
class x
{
public static void Main()
{
}
}
// Fix:
namespace y
{
class x
{
public static void Main()
{
}
}
}
Example 2: why is c# say ; expected
Console.WriteLine()