Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Concat() [1/12]

static string System.String.Concat ( IEnumerable< string?> values)
inlinestatic

Definition at line 1687 of file String.cs.

1688 {
1689 if (values == null)
1690 {
1691 throw new ArgumentNullException("values");
1692 }
1693 using IEnumerator<string> enumerator = values.GetEnumerator();
1694 if (!enumerator.MoveNext())
1695 {
1696 return Empty;
1697 }
1698 string current = enumerator.Current;
1699 if (!enumerator.MoveNext())
1700 {
1701 return current ?? Empty;
1702 }
1705 valueStringBuilder.Append(current);
1706 do
1707 {
1708 valueStringBuilder.Append(enumerator.Current);
1709 }
1710 while (enumerator.MoveNext());
1711 return valueStringBuilder.ToString();
1712 }
static readonly string Empty
Definition String.cs:29

References System.String.Empty, System.Collections.Generic.Dictionary< TKey, TValue >.GetEnumerator(), and System.values.