Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a function in C# like DIR()?
Message
From
17/03/2007 15:06:37
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01205025
Message ID:
01205029
Views:
23
Hey, Dmitry,

Quick answer...take a look at the System.IO namespace, and the directory class.
using System.IO;

System.IO.Directory.GetFiles();
System.IO.Directory.GetDirectories();   // etc. etc.
If you use Intellisense, and type System.IO.Directory. , you'll see all of the available functions. Take a look at them, and for most, there may be a small code sample in the online help. Probably the best way to see what's available...

Hope that helps...
Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform