See
How to use ArcGIS samples
for help on compiling, setting up the debugger, and running the sample.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders.
However, you will need to update the sample to point to the location of the data once you have extracted all the files.
Build the solution.
Start ArcMap and load data that has topology or connectivity rules.
Click Customize, click Toolbars, and click Editor.
Dock the Editor toolbar.
Click Editor and click Start Editing. The editing session starts.
Select a data feature and move it. This triggers the onChangeFeature event, and the feature is validated for the new location.