Your constructor will loop forever until the stack pops up. This is because it continues itself recursively. Try to split it:
public Pair(TValue1 value1, TValue2 value2) : this(value1, value2, () => toStringFunc(this)) { } public Pair(TValue1 value1, TValue2 value2, Func<Pair<TValue1, TValue2>, String> toStringFunc) { }
Sean Devlin Jan 07 2018-10-10T00: 00-07
source share