StackOverflowException with interface
<p>Hello I'm somewhat new to the world of programming.
So I tried creating an interface for a test object. As soon as I create the object I get a StackOverflowException.</p>

<p>Program.cs     </p>

<pre><code>class Program {

    static void Main (string[] args) {
        TestObject test = new TestObject("test");
    }

}
</code></pre>

<p>TestObject.cs</p>

<pre><code>public class TestObject : IObject {

    public string Name {get{return Name;}set{Name = value;}}

    public TestObject (string name) {
        Name = name;
    }

}

interface IObject {
    string Name {get;set;}
}
</code></pre>