tests/Kingdom.OrTools.Sat.Parameters.Tests/Extensions/RangeExtensionMethods.cs
/// <summary>
/// Returns the <see cref="IEnumerable{T}"/> Range corresponding to the
/// <paramref name="values"/> and any <paramref name="others"/>.
/// </summary>
/// <param name="values"></param>
/// <returns></returns>
Returns the  Range corresponding to the
and any .
Returns the Range corresponding to the and any .
public static IEnumerable<T> MakeRangeWith<T>(this IEnumerable<T> values, params T[] others)
        {
            foreach (var x in values)
            {
                yield return x;
            }
            foreach (var x in others)
            {
                yield return x;
            }
        }
public static IEnumerable < T > MakeRangeWith < T > ( this IEnumerable < T > values , params T [ ] others ) { foreach ( var x in values ) { yield return x ; } foreach ( var x in others ) { yield return x ; } }
Returns the  Range corresponding to the
and any .
Returns the Range corresponding to the and any .
None
IEnumerable<T>
this
values
None