3 ms·
> But yea, it is LINQ method chaining. You mean like fluent interface? https://en.wikipedia.org/wiki/Fluent_interface https://en.wikipedia.org/wiki/Fluent_inte
by apwell23 2y ago
> But yea, it is LINQ method chaining.
You mean like fluent interface? https://en.wikipedia.org/wiki/Fluent_interface https://en.wikipedia.org/wiki/Fluent_interface
What does this have to do with LINQ or C#. I remember doing 'method chaining' in 1990s .
- high_na_euv 2y ago>fluent interface Various names, same concept. "fluent interface is an object-oriented API whose design relies extensively on method chaining." >What does this have to do with LINQ or C#. Check the name of the namespace where all those APIs like Where, GroupBy, etc. are implemented, it is "System.Linq" So thats why majority of ppl think about them when talking about LINQ. Query syntax has like less than 1% of the "market share" versus method chaining style