Converting .xls to csv file?

Is there a sample c# code how to convert excel file to csv file format?

I looked everywhere on the site.

I can do it manually but I want to automate it.

thanks

It's very easy:

Workbook wb = new Workbook();

wb.Open("c:\\book1.xls"); //opens an xls file

wb.Save("c:\\book1.csv", FileFormatType.CSV); //saves it as a csv file