Can't get Console.Write to work in my console app

  • Thread starter Thread starter tshad
  • Start date Start date
T

tshad

I am using VS 2005 and just built a simple application that opens an xml
file and I want to put the table names on the console.

But when I try to use Console.Write (or Console.Readline), I get an error:

Error 1 The name 'Console' does not exist in the current context

How can that be - this is a Console application?

Thanks,

Tom
 
tshad said:
I am using VS 2005 and just built a simple application that opens an xml
file and I want to put the table names on the console.

But when I try to use Console.Write (or Console.Readline), I get an error:

Error 1 The name 'Console' does not exist in the current context

How can that be - this is a Console application?

Do you have a:

using System;

?

Arne
 
Back
Top