I have a list of longs.For example:
List<long> myData = new List<long>{ 2 , 10, 12, 13}
I want to invoke ToString for this List and get a string with all list`s elements :
myData.ToString()
as a result "2,10,12,13"
How can I do it? (Now when I run ToString()
I got System.Collections.Generic.List
1[System.Int64]`)