Aniket Narvankar

Aniket Narvankar

  • 849
  • 2k
  • 452.1k

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)