DEV Community

Zohar Peled
Zohar Peled

Posted on • Edited on

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 :-)