C# Tutorials
C# Tutorials,C# 4.0 Tutorials,C# 4.0 basics, C# learners guide
Friday, 8 June 2012
Enumerate Directories using C#
list all directories in C drive using C#
var expr=System.IO.Directory.EnumerateDirectories(@"c:\");
foreach (String file in expr)
{
Console.WriteLine(file);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment