loading...

Can a method chain be called LINQ?

peledzohar profile image Zohar Peled Updated on ・1 min read

Can a method chain be called LINQ?

9

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

Discussion

pic
Editor guide
 

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