c#, get and set for class property seems to have no effect : <p>so in my little c# console-program, i have i have this class, where I use get and set methods for my properties</p>

<pre><code>class myClass
{
    public int ID { get; set; }
    public string value { get; set; }
    public myClass(int ID, string value)
    {
        this.ID = ID;
        this.value = value;

    }
}
</code></pre>

<p>however when i am im my main method, i am not able to access these two properties through the get-method, neither am i able to use set() on any of them, what am I doing wrong? </p>
