Compound

This sample demonstrates the definition and usage of compound (multi-field) indexes.

How to Run

In a console window run

 
    Compound
     

But it is more instructive to run one instance in your development environment debugger, stepping through the code.