Last post Jan 31, 2017 05:35 PM by vineed_menon
Jan 31, 2017 05:10 PM|manojvarmagottumukkala|LINK
I am new ASP.net core and I want to know what is meant by m=>m.ID==id ?I also want to know what is meant by '=>'?
Thanks in Advance :)
Jan 31, 2017 05:35 PM|vineed_menon|LINK
"=>" refers to lambda operator. The expression that you have mentioned is a lambda expression where "m" represents an item / element in a collection. The expression checks ID property of each item / element in the collection with the value of variable id.
The item(s) that matches id variable will be returned.
For more information check following links on lambda
Hope this helps