Cvs to shapefile source code

I need to convert a csv file to a shapefile in a .Net6 windows application. Does mapSource have any source code or assembly available which performs such an operation that I can used in .Net6 windows application written in c#