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
Jay S
NA
230
59.7k
Lambda .Find on Index number to ID
Jul 10 2013 11:22 AM
I'm trying to do a simple find using Lambda..
Usually I'd do this:
this.Continents.Find((Continents c) => c.ID == nations.regionID);
This usually works with no problem.
But I have a case where I don't have an ID value for Continents and its the index number which relates to the regionID...
For example:
In Continents I may have
Index number|String
[0] | Africa
[1] | Europe
In nations.regionID is may have
1
0
0
1
So using lambda I need to find based on the regionID to continent index number.
Reply
Answers (
1
)
GTK# : how to load widget at runtime
T
fn(int a, int b) is interface possible for t