-4

how to access the implementation Count<TSource>(IQueryable<TSource>) method?

That's the assembler code: enter image description here

Gilad Green
  • 36,708
  • 7
  • 61
  • 95
lotfi91
  • 1
  • 1
  • 2
    Hi @lotfi91. Welcome to StackOverflow. Please read [How To Ask](https://stackoverflow.com/help/how-to-ask) and take the [Tour](https://stackoverflow.com/tour) so to post better formatted and by the SO standard questions – Gilad Green Sep 29 '18 at 16:01

1 Answers1

0

In the link you have given (description of Queryable.Count Method) it directly says that it depends on the type of the source parameter.

Meaning it "redirects" to the count implementation of the Type you have given of 'source' parameter

Remarks part:

Count(IQueryable) depends on the implementation of the type of the source parameter. The expected behavior is that it counts the number of items in source.

  • if for example; public static int Count (this source IQueryable ), how to access the implementation ? Thanks @Bratumił Rynkiewicz – lotfi91 Sep 30 '18 at 04:26