public override string ToString() { var builder = new StringBuilder(); builder.AppendLine("Holder Name: " + HolderName); builder.Append("Card Number: ****" + CardNumber.Remove(0, CardNumber.Length - 4)); return(builder.ToString()); }
public override string ToString() { var builder = new StringBuilder(); builder.AppendLine("Holder Name: " + HolderName); builder.Append("Card Number: ****" + CardNumber.Remove(0, CardNumber.Length - 4)); return(builder.ToString()); }