Hi,
I want to convert a comma separated string to a generic list using C#.Net,
Please help
Namespaces
using System.Collections.Generic; using System.Linq;
Code
string s = "a,b,c"; List<string> lst = s.Split(',').ToList();
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.