1 / 12

Essential LINQ with C#

Essential LINQ with C#. Mark Michaelis Chief Computer Nerd IDesign / Itron / IntelliTechture DTL313. Mark Michaelis. Chief Technical Architect, Author & Trainer mark@intelliTechture.com. Essential LINQ with C#. What made LINQ possible. C# 3.0 Language Summary. Query expressions.

neva
Download Presentation

Essential LINQ with C#

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Essential LINQ with C# Mark Michaelis Chief Computer Nerd IDesign/Itron/IntelliTechture DTL313

  2. Mark Michaelis Chief Technical Architect,Author & Trainermark@intelliTechture.com

  3. Essential LINQ with C# What made LINQ possible

  4. C# 3.0 Language Summary Query expressions var contacts = from contact in contacts wherecontact.Phone.StartsWith("509") selectnew { contact.Name, contact.Phone }; Local variable type inference Lambda expressions var contacts = customers .Where(item => item.Phone.StartsWith("509")) .Select(contact => new { contact.Name, contact.Phone, Age=42}); Extension methods Object initializers Property initialization Anonymous types

  5. demo Programming with LINQ

  6. question & answer

  7. Mark Michaelis Chief Technical Architect,Author & Trainermark@intelliTechture.com

  8. Track Resources • Visit the DPR TLC for a chance to win a copy of Visual Studio Team Suite. Daily drawing occurs every day in the TLC at 4:15pm. Stop by for a raffle ticket • http://www.microsoft.com/visualstudio • http://www.microsoft.com/visualstudio/en-us/products/teamsystem/default.mspx • Please visit us in the TLC blue area

  9. Resources • www.microsoft.com/teched Sessions On-Demand & Community • www.microsoft.com/learning • Microsoft Certification & Training Resources • http://microsoft.com/technet • Resources for IT Professionals • http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources

  10. Complete an evaluation on CommNet and enter to win!

  11. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related