In this Blog we are going to see. How to Convert Generic List
to String and Vice Versa using C#
Used Namespace:
using System;
using System.Collections.Generic;
Code Snippet:
/// <summary>
/// This Converts Array to
String and Vice Versa
/// </summary>
public void
ConvertingStringToList()
{
//Adding item to the List
List<string>
list = new List<string>();
list.Add("Lajapathy");
list.Add("Arun");
Console.WriteLine("List
Items");
//Displaying the List Value.
foreach (string s in list)

Gowtham RajamanickamPosted Apr 1, 2015, 4:31 AM
good