Update MongoDB field using value of another field

In c# Driver, we want to achieve something like this in our update:

db.collection.<update method>(
    {},
    [
        {"$set": {"name": { "$concat": ["$firstName", " ", "$lastName"]}}}
    ]
)

How can we update the field coming from the another field just like the above statement?