Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
merging string [] in foreach loop
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Aditya Chauhan
9y
424
1
Reply
string[] drives = Directory.GetLogicalDrives();
foreach (string d in drives)
{
string[] d1 = Directory.GetDirectories(d);
string[] pathlist = fde.Union(falaa).Union(d1).ToArray();
}
//fde is the nother path list
//falaa is the nother path list
* pathlist is the collection of all lists
in path list i am not able to store the list, i know very well it is a mistake in code?
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Auto Re-sizing Windows form and its Tabs and its Controls c#
Genrate Barcode