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
yamid
NA
98
0
Get certains files from a folder sing C# and/or LINQ
Dec 5 2016 7:33 PM
Hi All,
I want to get "full path" of all files that
1. have the extension "*.bpp" (except one file that ends with 279.bpp), and
2. their sizes should be greater than 50 kb.
I have this code, but I can not add another filter based on the file size
var files0 = Directory.GetFiles(mydirectoryPath,
"*.bpp"
).Where(name =>
!name.EndsWith(
"279.bpp"
);
Please note that I need the full path of all files that pass those two filters.
Reply
Answers (
1
)
What is cross site tracing ?
how to move one table data to another table in angularjs