i have this array:
string[] words = new string[] {"a","b","c","d","e","f"};
I want to split it in two arrays depending if the index is even or odd, like this:
string[] odd="a,c,e";
string [] even="b,d,f";
thanks in advance
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…