.net - C# Not enough storage is available to process this command on Console.ReadLine() -
this 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 available process command.
on console.readline()
could please?
update 1
the class logcustome
empty see:
class logcustome { public void logstartservice() { } public void logstopservice() { } }
update2
even when code simple 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 exception
likely on project properties (since created service), output type windows application, change console application , it'll work expect.
Comments
Post a Comment