Could somebody tell me why can't I remove parts from my string?
Resuming: Basically I have these string _data which goes to my database and gave me that value.
string _data = "2019/1/13 00:00:00"
_data.Replace(" 00:00:00", "");
I already tried to use all of this methods but, for some reason, they are not working. What am i doing wrong?
P.S: I am doing this inside a foreach