\\ This example delete all nodes of Navigation.QuickLaunch
\\constructor of the client context: requires an input parameter
using (var context = new ClientContext(siteUrl))
{
\\quicklaunch of the object web
NavigationNodeCollection nodes = context.Web.Navigation.QuickLaunch;
context.Load(nodes);
context.ExecuteQuery();
\\linq to cycle the nodes of the quicklaunch
nodes.ToList().ForEach(node => node.DeleteObject());
context.ExecuteQuery();
}