From 2a440162c945f95127198be311b8f4e1137c89f6 Mon Sep 17 00:00:00 2001 From: Marcello Lamonaca Date: Thu, 4 Mar 2021 21:59:30 +0100 Subject: [PATCH] Fix filename, add Zip & Concat methods --- .NET/C#/{LINQ .md => LINQ.md} | 6 ++++++ 1 file changed, 6 insertions(+) rename .NET/C#/{LINQ .md => LINQ.md} (88%) diff --git a/.NET/C#/LINQ .md b/.NET/C#/LINQ.md similarity index 88% rename from .NET/C#/LINQ .md rename to .NET/C#/LINQ.md index e565f9a..b0824cc 100644 --- a/.NET/C#/LINQ .md +++ b/.NET/C#/LINQ.md @@ -59,6 +59,12 @@ IEnumerable.Min(); IEnumerable.All(Func predicate); // check if condition is true for all elements IEnumerable.Any(Func predicate); // check if condition is true for at least one element + +IEnumerable.Concat(IEnumerable enumerable); + +// Applies a specified function to the corresponding elements of two sequences, producing a sequence of the results. +IEnumerable.Zip(IEnumerable enumerable, Func func); +IEnumerable.Zip(IEnumerable enumerable); // Produces a sequence of tuples with elements from the two specified sequences. ``` **NOTE**: `Enumerable` provides a set of `static` methods for querying objects that implement `IEnumerable`. Most methods are extensions of `IEnumerable`