See Using the samples for help on compiling, setting up the debugger, and running the sample (either an exe or dll).
Open the solution using Visual Studio 2005.
Build the solution to make the 'Add DynamicLayer' command dll.
You will need to use this command in an application with a MapControl and a ToolbarControl.
Add the command to the ToolbarControl. The command can be found in the 'My DynamicLayer' category with the name 'Add DynamicLayer'.
Run the application and add any layer to use as a background.
Click the 'Add DynamicLayer' command in order to add the dynamic layer to the map. You will notice that the map will switch into Dynamic-Mode and the layer with 100 dynamic items will get added to the map.