Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.Linq;
internal static class EnumerableMergeExtensions
{
internal static IEnumerable<T> Merge<T, TKey>(this IEnumerable<T> left, IEnumerable<T> right, Func<T, TKey> keySelector, Func<T, T, T> resolveConflictFunc)
{
var join = from li in left
join ri in right