Aniket Narvankar

Aniket Narvankar

  • 561
  • 2.1k
  • 605.4k

Add string to Long List

May 6 2022 4:44 AM

I have a string value

string str1 = "1,2"

and a Long List

List<Long> l1 = new List<Long>();

I want to add this string value to List,without using loop,how this could be done? please do let me know about the same


Answers (5)