Compound

This sample demonstrates definition and usage of compound (multifield) 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.