سلام 😉 در این پست کد Lambda Expression مختصر و ساده در c#.net را آماده کردم. انشاالله که این کد سی شارپ براتون مفید باشد.
کد Lambda Expression مختصر و ساده در c#.net :
using System;
using System.ComponentModel;
class MainClass
{
static void Main()
{
Func<string, int> returnLength;
returnLength = (text => text.Length);
using System.ComponentModel;
class MainClass
{
static void Main()
{
Func<string, int> returnLength;
returnLength = (text => text.Length);