namespace Toolkit.Foundation; public record Insert(int Index, TValue Value); public record Insert { public static Insert As(int index, TValue value) => new(index, value); public static Insert As(int index) where TValue : new() => new(index, new TValue()); }