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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T23:19:59+00:00 2026-06-05T23:19:59+00:00

When developing in C#, using functional-like methods such as Where, Select, Aggregate, etc. is

  • 0

When developing in C#, using functional-like methods such as Where, Select, Aggregate, etc. is really good for many reasons and I use them quite a lot. However, the Silverlight 4.0 Framework for Windows Phone 7.1 does not seem to include those. Is there any way to change that? I guess I can’t just change the mscorlib.dll to point to the one from the full .NET framework, or can I?

  • 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-06-05T23:20:00+00:00Added an answer on June 5, 2026 at 11:20 pm

    Caveat: I don’t do active WP7 development.

    However! Spinning up a vanilla Windows Phone 7.1 project, and using the following, it works fine – both LINQ query-syntax and extension-method syntax work fine:

            var foo = from x in arr
                      where x%2 == 0
                      select x*2;
            var bar = foo.Average();
    

    The only thing to note is that it is obtaining these methods from System.Core.dll, i.e. (if I browse it in the IDE):

    // Type: System.Linq.Enumerable
    // Assembly: System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
    // Assembly location: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone71\System.Core.dll
    

    So: just make sure you are referencing the System.Core.dll for Windows Phone 7.1

    edit (see comments) : also check you have:

    using System.Linq;
    

    At the top of the file.

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

Sidebar

Related Questions

I'm developing a small python like language using flex, byacc (for lexical and parsing)
Hey I'm used to developing in C and I would like to use C++
In a module I am developing, I am using the following code. function mymodule_page_alter(&$page)
I'm developing using JDE 4.5 which doesn't contain the PERMISSION_RECORDING, and it's denied by
I am developing using 3.0 and VS 2008. The problem is my build server
Help I'm very new with web developing using ASP.NET. Why is the my web
The last months I have tried to get started with web developing using Java.
I am developing project using Spring , Struts2 & Hibernate . Now I want
i am developing parser using bison...in my grammar i am getting this error Here
I've been developing stuff using ActionScript since AS2,and when AS3 was released i had

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.