I have list of names:
IEnumerable<Name> names;
names = n.GetNames(abc);
It gets list like: Ken, John, Sam,... I want it to show like this: 'Ken', 'John', 'Sam',...
I tried this:
string s = string.Join("',", names); but it gives result like:
Ken', John', Sam',...
Is there a way to add "'" in front of these names in single line of code?