Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a function in C# like DIR()?
Message
De
17/03/2007 15:06:37
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01205025
Message ID:
01205029
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform