Foreach to for List objects
<pre><code>foreach (Question question in Holder.Questions)
{
 //...
}
</code></pre>

<p>Holder.cs:
Holder containts a list of Question objects</p>

<pre><code>public List&lt;Question&gt; Questions{ get; set; }
</code></pre>

<p>Question.cs:
The Question class holds several attributes such as name, date, etc...</p>

<p>The problem with the foreach i am adding for every question, but i want to add something seperate to a question.</p>

<p>How would i be able to acces the question object in the following class?
The holder is already filled up with values of the current holder object.</p>

<p>In other words how do i work with the question. .... without the foreach loop? 
Cause i am getting the same error all the time that question is actually empty or null (object not set on a reference, ....)</p>

<p>Not really sure how to acces this question. without the foreach loop in this context!
Some examples would prove very handy! Thanks.</p>
