I have the following code:
var days = new string[] { "1", "2", "3", "4" });
I need to convert days to a string as following:
string daysConverted = "'1','2','3','4'";
I tried using string.Join:
var daysConverted = string.Join("','", days);
but I am getting:
"1','2','3','4" // missing quotes at the beginning and at the end.
I can concatenate a quote at both sides but I was wondering if there is any syntax to do it in one shot.