Assign a lambda expression to a delegate

PHOTO EMBED

Sat Oct 16 2021 06:16:48 GMT+0000 (Coordinated Universal Time)

Saved by @funcProgramming

Delegate int del (int i);
Del myDelegate=x=>x*x; 
Intj = myDelegate (4); //j=16
content_copyCOPY