Position(int,int)

Constructor in Position

Summary

Initialises a new instance of the Position class with the specified line and character.

public Position(int line, int character)

Parameters

NameDescription
int lineThe zero-indexed line number.
int characterThe zero-index character number.