Struct SubStringLocation
Simple structure used for some private implementations.
public readonly struct SubStringLocation
- Inherited Members
- Extension Methods
Constructor (1)
SubStringLocation(int, int)
Build an instance of SubStringLocation.
public SubStringLocation(int position, int length)
Parameters
positionintThe beginning position of the substring in a string
lengthintThe length of the substring
Properties (2)
Length
The length of the substring
public int Length { get; }
Property Value
Position
The beginning position of the substring in a string
public int Position { get; }