So I have comma-separated string like 1,5,7, so what’s the most simple and native way to convert this string to int[]? I can write my own split function, but there’s some interest how to do it in most native way.
Thanks in advance guys!
So I have comma-separated string like 1,5,7 , so what’s the most simple and
Share
or, a LINQ-y version:
But the first one should be a teeny bit faster.