Is there a way to get string.Format to always return an empty string?
string.Format("", DateTime.Now);
3rd party component lets us pass no more than a format string. The empty string idea doesn’t work. Was hoping there might be another less obvious way. I do not deny that the below code works (answers), it is just that I can’t reprogram said 3rd party component.
The answer is:
At least that’s the way to trick the 3rd party software into giving the desired result.