Create OR Update List item using CSOM C#
In this blog we will see how to create item/Update a list item using CSOM Add two references to your visual studio solution Microsoft.SharePoint.Client.dll & Microsoft.SharePoint.Client.Runtime.dll string webUri = "http://servername/sites/demo";
using (ClientContext context = new ClientContext(webUri))
{
//By Default it will use windows credentials
//If want to specify credentials use below line
context.Credentials = new NetworkCredential(