/ Published in: C#
Lambda expression to convert an array.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
return Array.ConvertAll(intList.Split(','), new Converter<string, int>((target) => Convert.ToInt32(target)));