Hi,
I want to loop through the sub-directories of one given folder. How to correct the following problems?
I want to loop through the sub-directories of one given folder. How to correct the following problems?
dir = args[0];
...
try
{
string [] dirlvl2Ent = Directory.GetDirectories(dir);
for (string dirlvl2 in dirlvl2Ent)
{
}
Error 1 ; expected F:\App8\Program.cs 50 37 ProcessSWFile
Error 2 ; expected F:\App8\Program.cs 50 40 ProcessSWFile
Error 3 Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement F:\App8\Program.cs 50 40 ProcessSWFile
Many Thanks & Best Regards, Hua Min
No comments:
Post a Comment