Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 117673
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:22:25+00:00 2026-05-11T03:22:25+00:00

As a fairly junior developer, I’m running into a problem that highlights my lack

  • 0

As a fairly junior developer, I’m running into a problem that highlights my lack of experience and the holes in my knowledge. Please excuse me if the preamble here is too long.

I find myself on a project that involves my needing to learn a number of new (to me) technologies, including LINQ (to OBJECTS and to XML for purposes of this project) among others. Everything I’ve read to this point suggests that to utilize LINQ I’ll need to fully understand the following (Delegates, Anonymous Methods and Lambda Expressions).

OK, so now comes the fun. I’ve CONSUMED delegates in the past as I have worked with the .NET event model, but the majority of the details have been hidden from me (thanks Microsoft!). I understand that on a basic level, delegate instances are pointers to methods (a gross over-simplification, I know).

I understand that an anonymous method is essentially an in-line unnamed method generally (if not exclusively) created as a target for a delegate.

I also understand that lambdas are used in varying ways to simplfy syntax and can be used to point a simple anonymous method to a delegate.

Pardon me if my any of my descriptions are WAY off here, this is the basic level to which I understand these topics.

So, the challenge:

  1. Can anyone tell me if at least on a basic level if my understanding of these items is even close? I’m not looking for complex esoteric minutiae, just the basics (for now).

  2. To what degree do I need to truly understand these concepts before applying LINQ in a project to reasonable effect? I want to understand it fully and am willing to spend the time. I simply may not HAVE the time to fully grok all of this stuff before I need to produce some work.

  3. Can anyone point me to some good articles that explain these subjects and apply them to ‘real world’ examples so that I can get my head around the basics of the topics and application of them? What I mean by real world, is how might I use this in the context of ‘Customers and Invoices’ rather than abstract ‘Vectors and Shapes’ or ‘Animals and Cows’. The scenario can be somewhat contrived for demonstration purposes, but hopefully not strictly academic. I have found a number of examples on-line and in books, but few seem to be ‘Plain English’ explanations.

Thank you all in advance for your patience, time and expertise.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T03:22:25+00:00Added an answer on May 11, 2026 at 3:22 am

    1) Those descriptions sound pretty accurate to me. Sometimes anonymous methods and lambda expressions will need to create a new type to put the target of the delegate in, so they can act as closures.

    2/3) I would read up a bit until you’re happy with delegates, anonymous methods and lambda expressions. I dedicate a chapter to the delegate-related changes in each of C# 2.0 and C# 3.0 in C# in Depth, although of course other books go into detail too. I have an article as well, if that helps.

    As for examples – delegates are used for many different purposes. They’re all different ways of looking at the same functionality, but they can feel very different:

    • Providing the code to call when you start a new thread
    • Reacting to UI events
    • Providing the filter, selection, ordering etc for a LINQ query
    • Providing a callback for when an asynchronous operation has finished

    If you have any specific situations you’d like an example of, that would be easier to answer.

    EDIT: I should point out that it’s good news that you’re only working with LINQ to Objects and LINQ to XML at the moment, as that means you don’t need to understand expression trees yet. (They’re cool, but one step at a time…) LINQ to XML is really just an XML API which works nicely with LINQ – from what I remember, the only times you’ll use delegates with LINQ to XML are when you’re actually calling into LINQ to Objects. (That’s very nice to do, admittedly – but it means you can reuse what you’ve already learned.)

    As you’ve already got C# in Depth, chapters 10 and 11 provide quite a few examples of using lambda expressions (and query expressions which are translated into lambda expressions) in LINQ. Chapter 5 has a few different examples of delegate use.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 90k
  • Answers 90k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The IC doesn't know if you've got those disks shared… May 11, 2026 at 6:02 pm
  • Editorial Team
    Editorial Team added an answer Give a look to IntelliSpell, a free version is available… May 11, 2026 at 6:02 pm
  • Editorial Team
    Editorial Team added an answer I found it. I just expanded the regsvr32.ex_ found in… May 11, 2026 at 6:02 pm

Related Questions

As a fairly junior developer, I'm running into a problem that highlights my lack
I have a form showing progress messages as a fairly long process runs. It's
I have a fairly simple ASP.NET application, set up as a Web Application Project
I've recently inherited a fairly large web site. The project is set up as
As a side project, for fun, I'm rewriting my blog and CMS in Flex

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.