I downloaded and installed C# Express Beta 2, and have been going
through the tutorial to try to learn C#, but I am unable to get the
sample programs to compile. Do you think this is a Beta issue?

The one I tried today is "How To: Create a C# Console Application"

I created the program step-by-step per the tutorial, but I get an
error on this line of code:

  System.IO.DirectoryInfo dir = System.IO.DirectoryInfo(@"c:\");

The error is: 'System.IO.DirectoryInfo' is a 'type', which is not
valid in the given context.

What does that mean and how do I solve it?








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to