public static class Ex
{
  public static IEnumerable<T> Intersperse<T>(this IEnumerable<T> separators, IEnumerable<IEnumerable<T>> enumerable)
  {
    var enumerator = enumerable.GetEnumerator();
    if (!enumerator.MoveNext()) yield break;
    while (true)
      {
        foreach (T t in enumerator.Current)
      yield return t;

Pasted 11 hours ago

public static class Ext
{
public static IEnumerable<T> Intersperse<T>(this IEnumerable<T> separators, IEnumerable<IEnumerable<T>> enumerable)
{
    var enumerator = enumerable.GetEnumerator();
    if (!enumerator.MoveNext()) yield break;
    while (true)
    {
        foreach (T t in enumerator.Current)
            yield return t;

Pasted 11 hours ago

public static class Ext
{
public static IEnumerable<T> Intersperse<T>(this IEnumerable<T> separators, IEnumerable<IEnumerable<T>> enumerable)
{
    var enumerator = enumerable.GetEnumerator();
    if (!enumerator.MoveNext()) yield break;
    while (true)
    {
        foreach (T t in enumerator.Current)
            yield return t;

Pasted 11 hours ago

public interface ITuple<out T1, out T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<out T1, out T2, out T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<out T1, out T2, out T3, out T4> : ITuple<T1, T2, T3>

Pasted 3 days ago

public interface ITuple<out T1, out T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<out T1, out T2, out T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<out T1, out T2, out T3, out T4> : ITuple<T1, T2, T3>

Pasted 3 days ago

public interface ITuple<out T1, out T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<out T1, out T2, out T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<out T1, out T2, out T3, out T4> : ITuple<T1, T2, T3>

Pasted 3 days ago

public interface ITuple<out T1, out T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<out T1, out T2, out T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<out T1, out T2, out T3, out T4> : ITuple<T1, T2, T3>

Pasted 3 days ago

public interface ITuple<out T1, out T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<out T1, out T2, out T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<out T1, out T2, out T3, out T4> : ITuple<T1, T2, T3>

Pasted 3 days ago

public interface ITuple<T1, T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<T1, T2, T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<T1, T2, T3, T4> : ITuple<T1, T2, T3>

Pasted 3 days ago

public interface ITuple<T1, T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<T1, T2, T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<T1, T2, T3, T4> : ITuple<T1, T2, T3>

Pasted 3 days ago

public interface ITuple<T1, T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<T1, T2, T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<T1, T2, T3, T4> : ITuple<T1, T2, T3>

Pasted 3 days ago

public interface ITuple<T1, T2>
{
    T1 Item1 { get; }
    T2 Item2 { get; }
}
public interface ITuple<T1, T2, T3> : ITuple<T1, T2>
{
    T3 Item3 { get; }
}
public interface ITuple<T1, T2, T3, T4> : ITuple<T1, T2, T3>

Pasted 3 days ago