feat: add a couple extra comments
This commit is contained in:
parent
7695bc6987
commit
83883e81ef
@ -137,6 +137,13 @@ namespace LD_24.Code
|
||||
writer.WriteLine("|");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Calculate the widths of each column of a table
|
||||
/// </summary>
|
||||
/// <param name="rows"></param>
|
||||
/// <param name="header"></param>
|
||||
/// <param name="columns"></param>
|
||||
/// <returns></returns>
|
||||
private static LinkedList<int> FindTableWidths(LinkedList<LinkedList<string>> rows, string header, string[] columns)
|
||||
{
|
||||
var allWidths = new Dictionary<int, LinkedList<int>>();
|
||||
|
@ -57,6 +57,11 @@ namespace LD_24.Code
|
||||
return hashCode;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Compares 2 products by their IDs
|
||||
/// </summary>
|
||||
/// <param name="other"></param>
|
||||
/// <returns></returns>
|
||||
public int CompareTo(Product other)
|
||||
{
|
||||
return ID.CompareTo(other.ID);
|
||||
|
Loading…
Reference in New Issue
Block a user