IEnumerable.Append 1.1.0

An extension of `IEnumerable` that allows a single item to be concatenated on to an existing enumerable collection.
 Microsoft added an `Append` method in the `System.Linq` namespace from .NET Framework 4.7.1.
 Use this package to get the same functionality in early versions.

Install-Package IEnumerable.Append -Version 1.1.0
dotnet add package IEnumerable.Append --version 1.1.0
<PackageReference Include="IEnumerable.Append" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IEnumerable.Append --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

IEnumerable.Append

An IEnumerable extension that allows a single item to be concatenated to an existing enumerable collection.
Microsoft added an Append method in the System.Linq namespace from .NET Framework 4.7.1.
Use this package to get the same functionality in early versions.

Example

using System;
using System.Collections.Generic;
using IEnumerable.Append;

namespace Example
{
    public class Program
    {
        public static void Main(string[] args)
        {
            IEnumerable<string> input = new [] { "Lorem", "ipsum", "dolor", "sit" };

            IEnumerable<string> output = input.Append("amet");

            Console.WriteLine(string.Join(" ", output)); 
        }
    }
}


IEnumerable.Append

An IEnumerable extension that allows a single item to be concatenated to an existing enumerable collection.
Microsoft added an Append method in the System.Linq namespace from .NET Framework 4.7.1.
Use this package to get the same functionality in early versions.

Example

using System;
using System.Collections.Generic;
using IEnumerable.Append;

namespace Example
{
    public class Program
    {
        public static void Main(string[] args)
        {
            IEnumerable<string> input = new [] { "Lorem", "ipsum", "dolor", "sit" };

            IEnumerable<string> output = input.Append("amet");

            Console.WriteLine(string.Join(" ", output)); 
        }
    }
}


Release Notes

Added support for other .NET versions.

  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 1.2

  • .NETStandard 1.3

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 58 8/27/2019
1.0.0 55 8/23/2019