title: How can I run my MongoDB function in C#
body: <p>I have a complicated aggregate function which I think it is better to run on the MongoDB server and its name is "myFunc".  How can I run that from c# code to get best performance?
  Is it better to use it as MongoDB function or write it by using .net driver and run it on C# code? </p>