"\u4000\f".TrimEnd(new char[0])
equal to "\u4000"
.
I am passing an empty array, so as per the MSDN documentation, nothing needs to be deleted and "\u4000\f"
should be returned. Is there a reason for this behavior?
EDIT: Refined Expected Behavior
EDIT: Apparently this changed in 3.5, I looked at the 2.0 documentation page.
source
share