//在尾部链接串 public bool Concat(StringLink s) { if (s.IsEmpty()) { Console.WriteLine("链接的串不能为空!"); return(false); } char[] chars = s.ToChars(); return(this.Concat(chars)); }
//插入字符串到指定位置 public bool Insert(int index, StringLink s) { if (s.IsEmpty()) { Console.WriteLine("插入的字符串不能为空!"); return(false); } char[] chars = s.ToChars(); return(this.Insert(index, chars)); }
//赋值为链串 public void ValueTo(StringLink s) { char[] chars = s.ToChars(); this.ValueTo(chars); }