Sample program for replica-set operations in csharp