how to update multiples fields in mongodb using c# code example
Example 1: c# mongodb update multiple fields
var update = Update.Set("Email", "[email protected]")
.Set("Phone", "4455512");
Example 2: c# mongodb update multiple fields
var update = Update<Person>.
Set(p => p.Email, "[email protected]").
Set(p => p.Phone, "4455512");