static void Main(string[] args) { LinkedMatrix <string> matrix = new LinkedMatrix <string>(1, 1); matrix[0, 0] = "0,0"; matrix.AppendRows(1); matrix[1, 0] = "1,0"; }
public void AppendRows(int addedRows) { LinkedMatrix <T> LastNotNull = this; while (LastNotNull.Next != null) { LastNotNull = LastNotNull.Next; } LastNotNull.Next = new LinkedMatrix <T>(LastNotNull.UpperY, addedRows, this.TotalColums); }