c# - Implicit conversion from type Char[] to string is not possible -
i want following
error: implicit conversion type char[] string not possible.
string pattern2 = (convert.todatetime(currmail.creationtime).tostring(" dd-mmm-yyyy hh-mm")).toarray();
does have idea on how deal this?
remove .toarray()
:
string pattern2 = convert.todatetime(currmail.creationtime).tostring("dd-mmm-yyyy hh-mm");
Comments
Post a Comment