.net - What is '=>'? (C# Grammar Question) -


this question has answer here:

i watching silverlight tutorial video, , came across unfamiliar expression in example code.

what => ? name? please provide me link? couldn't search because special characters.

code:

        var ctx = new eventmanagerdomaincontext();         ctx.events.add(newevent);         ctx.submitchanges((op) =>         {             if (!op.haserror)             {                 navigatetoeditevent(newevent.eventid);             }         }, null); 

lambda operator:

a lambda expression anonymous function can use create delegates or expression tree types. using lambda expressions, can write local functions can passed arguments or returned value of function calls...

huzzah!


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -