Table of Contents

Concat Method

Definition

Namespace
Cuemon.Extensions.IO
Assemblies
Cuemon.Extensions.IO.dll
Source
src/Cuemon.Extensions.IO/StreamExtensions.cs

Concat(Stream, Stream, Action<DisposableOptions>)

Combines two streams, first and second, into one stream.

public static Stream Concat(this Stream first, Stream second, Action<DisposableOptions> setup = null)

Parameters

first Stream

The Stream to extend.

second Stream

The Stream to concat with first.

setup Action<DisposableOptions>

The DisposableOptions which may be configured.

Returns

Stream

The concatenated Stream representations of values first and second.