I'm not able to access all the default list templates. I'm getting the error as invalid list template
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.SharePoint.Client;
namespace ClassLibrary1
{
public class Class1
{
public static void Main(string[] args)
{
using (ClientContext context = new ClientContext("http://chnsharepoint:38940/listlibrary"))
{
// The SharePoint web at the URL.
Web web = context.Web;
ListCreationInformation Info = new ListCreationInformation();
Info.Title = "117NoCodePublic";
Info.TemplateType = 117;
List list = web.Lists.Add(Info);
list.Update();
context.Load(web);
context.ExecuteQuery();
}
}
}
}