C# static vs instance methods
<p>I'm risking it this might be a newb question but here goes. I'm tempted to add a method to a class that could possible have thousands and thousands of instances in memory at a given time. Now, the other option is creating a static class with a static method, and just create the [static] method there, instead of an instance method in the class. Something like so:</p>

<p>This:</p>

<pre><code>public static class PetOwner
{
    public static void RenamePet(Pet pet, string newName)
    {
        pet.Name = newName;
    }
}
</code></pre>

<p>Instead of this:</p>

<pre><code>public class Pet
{
    public string Name { get; set; }

    public void Rename(string newName)
    {
        this.Name = newName;
    }
}
</code></pre>

<p>I'm just wondering if the static class alternative would take considerably less memory.</p>

<p>Thanks!</p>
