source/R5T.NetStandard.Types/Code/Extensions/IEnumerableExtensions.cs
/// <summary>
/// Allows adding a few extra items to an enumerable.
/// </summary>
Allows adding a few extra items to an enumerable.
Allows adding a few extra items to an enumerable .
public static IEnumerable<T> And<T>(this IEnumerable<T> enumerable, params T[] extras)
        {
            foreach (var item in enumerable)
            {
                yield return item;
            }
            foreach (var item in extras)
            {
                yield return item;
            }
        }
public static IEnumerable < T > And < T > ( this IEnumerable < T > enumerable , params T [ ] extras ) { foreach ( var item in enumerable ) { yield return item ; } foreach ( var item in extras ) { yield return item ; } }
Allows adding a few extra items to an enumerable.
Allows adding a few extra items to an enumerable .
IEnumerable<T>
this