using System;
using System.Linq;
using System.Collections.Generic;
public class Program
{
public static void Main()
var cRefs = new List<string>() {"Q8001", "Q8002"};
var cRefColl = cRefs.Select(i => "'" + i + "'");
var cRefStr = string.Join(",", cRefColl);
Console.WriteLine(cRefStr);
}