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

  • SEARCH
  • Home
  • 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 301031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:58:06+00:00 2026-05-12T06:58:06+00:00

I was pleasantly surprised a few months ago to learn that I could use

  • 0

I was pleasantly surprised a few months ago to learn that I could use many C# 3.x constructs (anonymous types, lambdas, automatic properties) in .NET 2.0, due to the fact that they all compile to the same IL…in effect, syntactic sugar.

Is this also the case of LINQ and XLINQ? Can i use these constructs while still targeting .NET 2.0 runtimes?

  • 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. Editorial Team
    Editorial Team
    2026-05-12T06:58:06+00:00Added an answer on May 12, 2026 at 6:58 am

    For info, much of the core of LINQ is available in .NET 2.0 (with C# 3.0) via (for example) LINQBridge. This gives you most of LINQ-to-Objects (allowing query syntax against in-memory collections/iterators), but it doesn’t provide the new assemblies required for LINQ-to-XML or LINQ-to-SQL etc.

    So no; you can’t use XDocument without the new assemblies from .NET 3.5; but you can do many LINQ things.

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

Sidebar

Related Questions

Recently I've discovered M-x ielm (the Emacs self-REPL) and was pleasantly surprised that there's
I was just pleasantly surprised to came across the documentation of Python's compiler package
I have a few Hibernate Envers listeners which I use for audit purposes. I
Not entirely sure this is possible, but hoping to be pleasantly surprised. I have
I'm pleasantly surprised how easy it is to perform branching with Git. What worries
Dear all. I was exploring matplotlib's 3d plot capabilities yesterday (and was pleasantly surprised,
In a recent web application I built, I was pleasantly surprised when one of
I'm dealing with a problem here. There's this view that I use to see
I would like to unit-test the functionality of a few classes that mainly do
I've been reading up on foreign keys and joins recently, and have been pleasantly

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.