Hi @Mansur Patel,You could use following csom code to enable the content type first
using (ClientContext clientContext = new ClientContext("http://MyServer/sites/MySiteCollection"))
{
// clientcontext.Web.Lists.GetById - This option also can be used to get the list using List GUID
//This value is NOT List internal name
List olist = clientcontext.Web.Lists.GetByTitle("New title");
olist.ContentTypesEnabled = true;
olist.Update();
clientcontext.ExecuteQuery();
}
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.