Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Splilt Function to retrieve integers
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { class Program { public static void Main(string[] args) { string values = "1,2,3,4,5"; string[] tokens = values.Split(','); int[] convertedItems = Array.ConvertAll<string, int>(tokens, int.Parse); foreach(int i in convertedItems) //convertedItems) { Console.WriteLine(i); } } } }
run
|
edit
|
history
|
help
0
Side 1
Alin
xpath select element code
Fórum ➡ Parallel Threads ( The Funniest Version ) ♦
6.4 Parallelism: threads and events
Roman to Arabic number conversion without semantic control
test
sdfrgthyjuiloiujyhtgrf
algo1
asdfgthyjukjyhtgrfed