Accessing object's property inside generic method
<p>How can access the property of an object inside generic method?<br>
I can't use <code>where T: A</code> because this method will receive different objects, but all objects have a common property to work on.<br>
(I also can't make for them a common interface)       </p>

<pre><code>public class A
{
    public int Number {get;set;}
}


List&lt;A&gt; listA = new List&lt;A&gt;{
                new A {Number =4},
                new A {Number =1},
                new A {Number =5}
};

Work&lt;A&gt;(listA);

public static void Work&lt;T&gt;(List&lt;T&gt; list1)
{
    foreach(T item in list1)
    {
        do something with item.Number;
    }
}
</code></pre>

<p>An update: I need also to set the property</p>
