This documentation is archived and is not being maintained.

Compiler Error CS1035

End-of-file found, '*/' expected

An opening comment delimiter was not matched with a closing delimiter.

The following sample generates CS1035:

// CS1035.cs
public class a
{
   public static void Main()
   {
   }
}
/*   // CS1035, needs closing comment
Show: