MergeToString fix
This commit is contained in:
parent
c7016371a5
commit
6ee7fbc3f6
@ -51,9 +51,9 @@ public static class StringConverter
|
||||
return builder.ToString();
|
||||
}
|
||||
|
||||
// String.Join(string...) does some low-level memory manipulations, that are faster than StringBuilder
|
||||
public static string MergeToString(string part0, params string[] parts)
|
||||
=>string.Join(part0, parts);
|
||||
// String.Join(sep,string...) does some low-level memory manipulations, that are faster than StringBuilder
|
||||
public static string MergeToString(params string[] parts)
|
||||
=>string.Join(null, parts);
|
||||
|
||||
public static string MergeToString<T>(this IEnumerable<T> collection, string separator)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user