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