Do I need a ref keyword for this method?
<p>I want to update one object with the data from another, so something like:</p>

<pre><code>User updatingUser = Users.Get(someId);

updatingUser.Name = otherUser.Name;
updatingUser.Age = otherUser.Age;
</code></pre>

<p>Now I want to create a method to perform this update, do I need a ref in the parameter list?</p>

<pre><code>public static void UpdateUserFromUser(User original, User other)
{
  original.Name = other.Name;
  original.Age = other.Age;
  ..
  ..

}
</code></pre>

<p>Now the 'original' user passed in has properties on the object that are set, and that will not be updated, so this user object gets SOME properties updated.</p>

<p>I need a ref correct, like:</p>

<pre><code>public static void UpdateUserFromUser(ref User original, User other)
</code></pre>

<p>Or will the object 'original' get updated without the need for ref?</p>
