PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Char­Span Structure / Char­Span Constructor / Char­Span Constructor (Char[], Int32, Int32)

CharSpan Constructor (Char[], Int32, Int32)

Initializes a new CharSpan from an array of Char.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public CharSpan(
	char[] array,
	int start,
	int length
)

Parameters

array
Type: System.Char[]
An array of Char.
start
Type: System.Int32
The start index of the span in the array.
length
Type: System.Int32
The number of characters in the span.
See Also