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
Zoltan Kerenyi
NA
72
13.6k
string element lenght in List<>
Jun 26 2020 2:37 AM
Hi,
Is there an elegant way maybe LINQ to return True if all string element in a List is equal lenght? Or has a substring?
I was doing this way:
bool sha_ready = false;
while (!sha_ready)
{
foreach (var item in Directory.GetFiles(destination_path, "*.wav"))
{
if (!Path.GetFileName(item).ToLower().Contains("sha"))
{
sha_ready = false;
}
else
{
}
}
}
Thanks,
Zolee
Reply
Answers (
3
)
Methods in C# with parameters
Error in Json Convert