public void OutputAssignment() { Console.WriteLine($"{Title,-12}|{Description,-15}|{SubDateTime.ToString("dd/MM/yyyy"),-12}|{OralMark,-10}|{TotalMark,-10}"); }
public override string ToString() { return(String.Format("{0, -14} {1, -30} {2, -84} {3, -21} {4, -21} {5, -19}", AssignmentId, Title, Description, SubDateTime.ToString("dd'/'MM'/'yyyy HH:mm:ss"), OralMark, TotalMark)); }
public override string ToString() { return($"{ID}. {Title} \n" + $" {Description}\n" + $" Due Submission: {SubDateTime.ToString("dd/MM/yyyy")}"); }
public void DisplayAssignment() { Console.WriteLine($"{CommonTools.CutString(Title, 15),-15} | {SubDateTime.ToString("dd/MM/yyyy"),-11} | {OralMark,-11} | {TotalMark,-12}| {CommonTools.CutString(Description, 55),-55} |"); }
public void OutputSubDate() { Console.WriteLine($"Submission Date: {SubDateTime.ToString("dd/MM/yyyy")} "); }
public void PrintAssignment() { Console.WriteLine($"{Title,-33} {Description,-25} {SubDateTime.ToString("dd/MM/yyyy"),-15} {OralMark,-10} {TotalMark,-10}"); }