c# foreach descending loop (Enumerable.reverse)


 List<int> test = new List<int>() { 1, 2, 4, 5, 6, 7, 9 };  
       foreach (int t in Enumerable.Reverse(test))  
       {  
         Console.Write(t+",");  
       }  
result : 9,7,6,5,4,2,1,

Comments

Popular posts from this blog

flexigrid + php with add and edit button

Data Flow Diagram (DFD)

VERIFIKASI SUARA MENGGUNAKAN METODE MFCC DAN DTW MENGGUNAKAN METODE MFCC DAN DTW (BAB II TINJAUAN PUSTAKA)