I have a shapefile in which some features shares same values for all the attributes.
I can merge them manually by going into edit session and, selecting features to be merged, and then using merge button under Editor.
However, since number of such features are very large, a programmatic solution is required.
Best Answer
You can use the Geoprocessing tools programmatically. Here's an example (in VB.NET) from one of my applications (which uses many geoprocessing tools). The InputName can be a string or a feature class and it returns a feature class.