I am a beginner of arcobjects.

My question is to write code for Calculation of Distance Matrix between different locations (different spots) and save it automatically in a table or a *csv file. The basic data is vetor map data with points, polygons and line.

Thank you very very very much for help.

My question is to write code for Calculation of Distance Matrix between different locations (different spots) and save it automatically in a table or a *csv file. The basic data is vetor map data with points, polygons and line.

Thank you very very very much for help.

If you are looking to return the distance between geometries then have a look at the IProximityOperator Interface.