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 6740251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:35:02+00:00 2026-05-26T11:35:02+00:00

LINQ is extremely powerful and can be used highly in code. But is it

  • 0

LINQ is extremely powerful and can be used highly in code. But is it best practice to use it?

  • 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-26T11:35:03+00:00Added an answer on May 26, 2026 at 11:35 am

    It’s a good idea to use it when it makes the code clearer and simpler to maintain, and when you’re not in any of the situations where the performance of LINQ is too slow for your needs.

    You haven’t specified whether you’re talking about LINQ to Objects or LINQ to SQL etc, but I know there are situations where the latter has proved too slow for some high traffic sites, and they’ve moved off it… but only after it’s been shown to be an issue. LINQ to Objects will often have a very small performance hit compared with “hard-coding” the same logic, but that’s even less likely to be a real problem.

    Of course LINQ can certainly be overused, and I’ve seen people reaching for a LINQ solution when there are far more appropriate ways of achieving the same thing – so don’t try to use it everywhere you possibly can. Just use it where it clearly helps.

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

Sidebar

Related Questions

Linq in general, has extensions methods(at IEnumerable) like Where, Select, OrderBy. But use another
This is probably something extremely simple but I can't get my head around it
I am not a LINQ power user by any means, but can fumble my
LINQ simplifies database programming no doubt, but does it have a downside? Inline SQL
Still extremely new to the whole MVC/LINQ thing. I'm in the processes off building
So I'm extremely new to Linq in .Net 3.5 and have a question. I
I'm trying to use a SqlDataReader (I'm quite aware of the beauty of Linq,
In LINQ to SQL, I can create a repository dynamically using DataContext.GetTable<T> . Is
Well, I think trying to understand someone elses SQL can be trying enough but
linq-to-sql is giving me this error Can't perform Create, Update, or Delete operations on

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.