示例#1
0
 public string getCardHeader() => (CardID > 0 ? $"Card #: {CardID.ToString("0000")}" : "N/A") + $" - {CardTitle.Replace('\u3000',' ').Trim()}";
示例#2
0
 public string getCardHeader() => (CardID > 0 ? $"Card #: {CardID.ToString("0000")}" : "N/A") + $" - {CardTitle.Trim()}" + Environment.NewLine;
示例#3
0
 public override string ToString()
 {
     return(CardID.ToString() + "  " + CardName + "  " + IsHard.ToString());
 }