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
Roy Guzman
NA
18
2.1k
Given a collection of names, there may be a name 10 chars
Jul 15 2017 8:35 AM
given a collection of names, there may be a name that is 10 characters or longer, return this name or null if none found, throw and exception if there is more than 1
public static string GetLongestName(IEnumerable<string> names)
{
//code
}
I am new to linq and c# . please help.
Reply
Answers (
2
)
How to write a LinQ select statement with Contains string
Compiled queries in LINQ