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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:51:20+00:00 2026-05-14T04:51:20+00:00

They usually involve generics. But some methods with generics don’t have them, and not

  • 0

They usually involve generics. But some methods with generics don’t have them, and not all extension methods have them.

They’ve just “been there” since day one, we’ve all seen them; but I realized I still don’t know what they mean, and I can’t find the answer anywhere. Now it’s really bugging me. Google just turns up results that are about XML, etc.

Is this officially documented anywhere? Thanks.

EDIT: Well that’s just great. Since I just created an account to make my first Stack Overflow post, to get an answer for this burning question; I’m not allowed to post my pretty Intellisense picture, or create a new tag “angle-brackets”. I love Stack Overflow, but… what a welcome!

Maybe my problem is that they aren’t actually called “angle brackets”… ??

Anyway, I guess if you really want to see my beautiful screenshot you could manually go to:

Distinct>< http://www.freeimagehosting.net/uploads/6a6c2f3268.png

Bump me up please so I can include it in the post, thanks. 😉

  • 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-14T04:51:20+00:00Added an answer on May 14, 2026 at 4:51 am

    These methods are generic.

    However, the compiler automatically infers the generic type parameter from the method call, so you don’t need to use the brackets when calling the method.

    For example, if you have an IEnumerable<int> myNumbers, the following four statements are equivalent:

    myNumbers.Count();
    myNumbers.Count<int>();
    Enumerable.Count(myNumbers);
    Enumerable.Count<int>(myNumbers);
    

    In the first and third calls, the compiler infers the int parameter because myNumbers is an IEnumerable<int>.

    The Count extension method is declared (in System.Core.Dll) like this:

    public static int Count<TSource>(this IEnumerable<TSource> source);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

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.