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 ...@@ -15,13 +15,7 @@ namespace Svg
{ {
public override string ToString() public override string ToString()
{ {
string ret = ""; return String.Join(",", this.Select(u => u.ToString()).ToArray());
foreach (var unit in this)
{
ret += unit.ToString() + " ";
}
return ret;
} }
public static bool IsNullOrEmpty(SvgUnitCollection collection) 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