The => operator is called the lambda operator.
It is used in lambda expressions to separate the input variables on the left side from the lambda body on the right side.
(input parameters) => expression
The parentheses are optional only if the lambda has one input parameter, otherwise they are required:
(x, y) => x == y
Zero input parameters with empty parentheses:
() => MyMethod()
Examples
1. Power
delegate int Power(int i);
Power myDelegate = x => x * x;
int j = myDelegate(7); //j = 49
MessageBox.Show(j.ToString());
2. Lambda expressions in query