A simple example of how to make C# and MongoDB server-side script execution "play nice" together.