Description: Here I m going to show you how you can use the SharePoint object model to Add item to sharepoint list using C#.
To do this in your custom webpart or feature first you have to add the reference to Microsoft.Sharepoint.dll (Then in your code use "using Microsoft.Sharepoint "). And also if you are going to run the program, you have to be in the server.
To Search:
File list (Check if you may need any files):
code.cs
description.docx