TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Chad Mancl
NA
11
0
stupid file/directory question
Aug 15 2008 5:00 PM
Back in my VB6 programming days I could use a function call dir("enter in file path or directory"). This worked out nice if I wanted to see if any files existed in a folder that contained a part of a string, for example(sFile = dir(sDir & "1.*")). If not files existed I would not have to loop through the entire folder, I cannot find something similar to this in C#. It seems like I have to loop through the folder and look at use the 'StartsWith' function or look at the left couple of characters in the file name. Is there a C# equivelant to what I am looking for?
thanks...
Reply
Answers (
2
)
C# object
C# DirectX 2d guide?