What is '=>'? (C# Grammar Question)
Posted
by Daniel
on Stack Overflow
See other posts from Stack Overflow
or by Daniel
Published on 2010-04-28T07:17:06Z
Indexed on
2010/04/28
7:23 UTC
Read the original article
Hit count: 237
I was watching a Silverlight tutorial video, and I came across an unfamiliar expression in the example code.
what is => ? what is its name? could you please provide me a link? I couldn't search for it because they are special characters.
code:
var ctx = new EventManagerDomainContext();
ctx.Events.Add(newEvent);
ctx.SubmitChanges((op) =>
{
if (!op.HasError)
{
NavigateToEditEvent(newEvent.EventID);
}
}, null);
© Stack Overflow or respective owner