in vb.net you can do this
VB Code:
Files = IO.Directory.GetFiles(TargetDir, "*.*") lstFiles.Items.Clear() For Each File In Files lstFiles.Items.Add(File) Next
what is the syntax to do this in c#?
|
Results 1 to 2 of 2
Thread: for each equivalentThreaded View
|
Click Here to Expand Forum to Full Width |