title: Kotlin "apply" equivalent in C#
body: <p>When using Kotlin, one could use <code>apply</code> to set multiple properties of an existing object and keeping the code cleaner, for example instead of:</p>
  
  <pre><code>person.firstName = "John"
  person.lastName = "Doe"
  person.phone = "123 456 789"
  </code></pre>
  
  <p>We can use:</p>
  
  <pre><code>person.apply {
     firstName = "John"
     lastName = "Doe"
     phone = "123 456 789"
  }
  </code></pre>
  
  <p>Is there an equivalent to the <code>apply</code> in C#?</p>
  
  <p>The closest to this is the <code>using</code> but it can't be used this way as far as I know.</p>
  
  <p>Edit: I know of <em>object initializer</em> in C#, but I'm actually looking for something that can be done for existing objects (for example an object fetched from the database).</p>