Skip the first element : Skip : LINQ C# Source Code


Custom Search

C# Source Code » LINQ » Skip »

 

Skip the first element








    
 

using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;
public class MainClass {
    public static void Main() {
        string[] presidents = {"A", "Art", "Buch", "Bush", "Car", "land"};

        IEnumerable<string> items = presidents.Skip(1);

        foreach (string item in items)
            Console.WriteLine(item);
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo LINQ
» Skip