Lambda Expression Fun with Visual Basic

Published 07 December 07 11:05 AM

One of the Dev's, Matt Manela, on my VS community team has started playing with Visual Basic. I always enjoy reading the adventures a developer has learning a new language. You can read the excitement someone has as they learn. I think I'm the same way. :-) Read about some of the Lambda Expression fun Matt's having.

One thing I really love about LINQ in VB is that I don't have to do too much work of creating my own lambdas and calling extension methods explicitly for queries most of the time because VB has an expanded query syntax to do most of the common things especially with aggregates. Only in complex or dynamic queries have I had to create my own lambdas to pass to extension methods. They are a very powerful feature, indeed, but it's nice to have the simple ones taken care of for me like Sum, Min, Max, Avg, also Take [While] and Skip [While].

Read more about Lambda Expressions in Visual Basic in this MSDN Article from Tim Ng from the Visual Basic Team.

Enjoy!

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MSDN Blog Postings » Lambda Expression Fun with Visual Basic said on December 7, 2007 4:47 PM:

PingBack from http://msdnrss.thecoderblogs.com/2007/12/07/lambda-expression-fun-with-visual-basic/

# hashemi said on December 9, 2007 12:59 AM:

I want Some Sample Code or Project in Visual Basic using MS-Access or Sqlserver Database

e.g: Inventory Database

hashemi-te@esfahansteel.com

# hashemi said on December 9, 2007 1:11 AM:

I want Some Sample Code or Project about Database in Visual Basic 6 or .Net that using MS-Access Database or Sqlserver (e.g Inventory Management)

hashemi-te@esfahansteel.com

# Beth Massi said on December 11, 2007 8:52 PM:

Hi hashemi,

There are many How-to videos here that will help you get started:http://msdn2.microsoft.com/en-us/vbasic/bb466226.aspx?wt.slv=topsectionsee#formsoverdata

Enjoy.

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About Beth Massi

Beth is a Program Manager on the Visual Studio Community Team at Microsoft and is responsible for producing and managing content for business application developers, driving community features and team participation onto MSDN Developer Centers (http://msdn.com), and helping make Visual Studio one of the best developer tools in the world. She also produces regular content on her blog (http://blogs.msdn.com/bethmassi), Channel 9, and a variety of other developer sites and magazines. As a community champion and a long-time member of the Microsoft developer community she also helps with the San Francisco East Bay .NET user group and is a frequent speaker at various software development events. Before Microsoft, she was a Senior Architect at a health care software product company and a Microsoft Solutions Architect MVP. Over the last decade she has worked on distributed applications and frameworks, web and Windows-based applications using Microsoft development tools in a variety of businesses. She loves teaching, hiking, mountain biking, and driving really fast.

This Blog

Syndication

Page view tracker