using System;
using System.Collections.Generic;
class Program
{
static void Main() {
List<string> list = new List<string>() {"c#", "c", "c++", "php"};
string[] arr = list.ToArray();
foreach (string s in arr) {
Console.WriteLine(s);
}
}
}
/*
run:
c#
c
c++
php
*/