In this blog we will be seeing how we can create Lambda in VB.Net.

Well most of us work on CSharp and we all would have use lambda lot of times . A lambda is constructed as below :

p => p. id == "M"

Recently I had a requirement where I had to workon on LINQ in VB.Net .

Imagine constructing this lambda in VB.Net .

Well I figured it out some how .

Below is the Lambda constructed in VB.Net

Function(e) e.Name <> "M"

Well We are done .