DEV Community

Zohar Peled
Zohar Peled

Posted on • Edited on

1

Can a method chain be called LINQ?

Can a method chain be called LINQ?

10

Is it correct to call this code snippet LINQ (Language Integrated Query)?

var lstMyStrings = new List<string>();
lstMyStrings.Where(aX => string.IsNullOrEmpty(aX))
            .Skip(3)
            .ToList();

I am confused because System.Linq is mandatory for this code.
However, when I see questions and answer's like this: .NET LINQ query syntax vs method chain

Top comments (1)

Collapse
 
peledzohar profile image
Zohar Peled

I guess that little black share button does work well, then :-)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay