Well, your first attempt to learn a new thing could have been to search that phrase in Google or Bing. Then with information you get from there you could have tried to write the code according to your requirement. Then if you face any problem, come back here and ask the question with clear description of the problem with code block with the issue.
However, I would suggest to have a look at
SqlBulkCopy[
^] documentation.
Here are few articles to understand how it can be implemented in real life solutions.
Transferring Data Using SqlBulkCopy[
^]
SQL Bulk Copy with C#.Net[
^]
Bulk upload into sql server using sqlbulkcopy and C# : www.dotnetmentors.com[
^]
Although these articles are written years back but should still work.
Please let me know in case of any difficulties in implementing this if it matches your requirement.
:)