Show / Hide Table of Contents

Struct StartEnd

Struct with fields int start and int end.

public record struct StartEnd : IEquatable<StartEnd>

Namespace: Au.Types
Assembly: Au.dll

Constructors

Name Description
StartEnd(int, int)

Fields

Name Description
end
start

Properties

Name Description
Length

Returns end - start.

Range

Converts this to StartEnd.Range. Can be used to get substring, like s[x.Range] instead of s[x.start..x.end].

Methods

Name Description
Span(string)

Gets string span.

ToString()