A SharePoint 2013 Custom List, Employee Cars, contains entries for each employee of the company. Using the SharePoint Client Object Model (CSOM), Write a program to iterate through each car in the list, where the production year is greater than 2005. The List contains the following fields: Make (String), Model (String), Registration (String) and Year of Production (Int).
using Microsoft.SharePoint.Client;
using System;
using System.Text;
namespace EmployeeCarsApplication
{
class Program
{
static void Main(string[] args)
{
ClientContext spContext = new ClientContext("http://ExampleSharePointURL");
Code Goes Here
Console.ReadLine();
}
}
}

ali tuncerPosted Jun 5, 2016, 10:50 PM
take a look at the following code from MSDN :
https://msdn.microsoft.com/en-us/library/office/fp179912.aspx#BasicOps_SPListItemTasks