In lambda expression we use the lambda operator => , Known as "goes to".
Here is an example of lambda operator
IList
Now we find all the BookingQueueInfo class which have property QueueEventType as 'ScheduleTimeChange' or as 'ReaccommodationMove'
Here is the code :
List
new List
q =>
q.QueueEventType == 'ScheduleTimeChange' || q.QueueEventType == 'ReaccommodationMove');
Please post if you have any query for Lambda Expression.
Cheers
No comments:
Post a Comment