Appending Char without Loop

  1. using System;  
  2. using System.Collections.Generic;  
  3. using System.Data.SqlClient;  
  4. using System.Linq;  
  5. using System.Text;  
  6. using System.Threading.Tasks;  
  7. namespace ConsoleApplication1  
  8. {  
  9.     class Program  
  10.     {  
  11.         static void Main(string[] args)  
  12.         {  
  13.             List<string> strList = new List<string>  
  14.             {  
  15.                 "Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"  
  16.             };  
  17.             var appendChar = string.Join(",", strList);  
  18.             Console.WriteLine(appendChar);  
  19.         }  
  20.     }  
  21. }