Need to add custom field in Document Library and Upload file

Apr 7 2015 2:24 AM
Using CSOM in Visual C# how can we add a new field in Sharepoint 2013 document library and also how can we upload the files to document library in Sharepoint 2013. I could not get the document library details in CSOM code but I could get the reference of newly created list and able to edit the list by adding new field to it.
How can I do it for a document Library.

Answers (1)