public static string ToPosition(this CellIndexModel model) { var letter = model.Column.ToLetter(); var res = $"{letter}{model.Row}:{letter}"; return(res); }
public static CellIndexModel Create(int columnIndex, int rowIndex) { var model = new CellIndexModel { Column = columnIndex, Row = rowIndex }; return(model); }