mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-19 15:51:58 +00:00
16 lines
367 B
C#
16 lines
367 B
C#
#if !IL2CPP
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace EHR;
|
|
|
|
public static class LinqHelpers
|
|
{
|
|
public static IEnumerable<(TFirst First, TSecond Second)> Zip<TFirst, TSecond>(
|
|
this IEnumerable<TFirst> first,
|
|
IEnumerable<TSecond> second)
|
|
{
|
|
return first.Zip(second, (f, s) => (First: f, Second: s));
|
|
}
|
|
}
|
|
#endif |