using System; using System.Collections.Generic; using System.Text; namespace DFEngine.IO { /// /// Class that represents a row in a script file. /// public class ScriptRow { /// /// The array of values in the row. /// private readonly string[] _values; /// /// Creates a new instance of the class. /// /// public ScriptRow(string[] values) { _values = values; } /// /// Returns the value at the specified index. /// /// The index being searched for. public string this[int index] => _values[index]; } }