This is my code
static void Main()
{
/*
ServiceBase[] ServicesToRun;
ServicesToRun = new ServiceBase[]
{
new OpenTableImporter()
};
ServiceBase.Run(ServicesToRun);*/
XMLReader x = new XMLReader(new LogCustome());
Console.ReadLine();
}
I got:
Not enough storage is available to process this command.
on Console.ReadLine()
could you help please?
Update 1
the class LogCustome
is almost empty as you see:
class LogCustome
{
public void logStartService() { }
public void logStopService() { }
}
Update2
Even when the code is as simple as this:
static void Main()
{
/*
ServiceBase[] ServicesToRun;
ServicesToRun = new ServiceBase[]
{
new OpenTableImporter()
};
ServiceBase.Run(ServicesToRun);*/
//XMLReader x = new XMLReader(new LogCustome());
Console.ReadLine();
}
I still have the exception