C# Converting array or List to string

public void Test()
{
  List<string> list = new List<string>();
  dogs.Add("One");
  dogs.Add("Two");
  dogs.Add("Three");
  Console.WriteLine(string.Join(",", list.ToArray()));
}

Comments

Popular posts from this blog

Tibco Rendezvous (tibrv) C# .Net example

Parse XML to dynamic object in C#