Click here to Skip to main content
15,887,325 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

now only i am using mvc..

i have some sample project, that is more have '=>'..

Like
C#
Html.TextBoxFor(m => m.CustomerCode)


What is the name of that symbol?
what is meant by => ?

Regards
AR
Posted

 
Share this answer
 
Comments
Maciej Los 12-Mar-14 16:09pm    
+5
It's called the "Lambda operator" and it introduces an inline function definition.
MSDN[^] describes it well.
 
Share this answer
 
Comments
Maciej Los 12-Mar-14 16:09pm    
+5
it's called "Lambda operator".
 
Share this answer
 
v2
 
Share this answer
 
As noted, officially it is the "Lambda operator"
Unofficially, some (Scott Hanselman, ...) call it the "Anders operator" ;)
so
C#
x => x + 2

is pronounced:
X anders X plus two
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900