Commit f519f708 authored by HeinrichAD's avatar HeinrichAD
Browse files

Split by comma, remove space in the end

Split by comma, remove space in the end
#209 by ifcwebapp
Pull Request from master
parent 8fc0a41b
......@@ -15,13 +15,7 @@ namespace Svg
{
public override string ToString()
{
string ret = "";
foreach (var unit in this)
{
ret += unit.ToString() + " ";
}
return ret;
return String.Join(",", this.Select(u => u.ToString()).ToArray());
}
public static bool IsNullOrEmpty(SvgUnitCollection collection)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment