how to pass interface as a paramerter to a method
<p>Hi iam newbie to C#.Can you please tell me how to pass a interface as a paramerter to a method?<br>
ie<br>
i want to access the interface members(property) and assign the values to it and send that interface as a parameter to other method,</p>

<p>say for ex if i have an interface as <strong>Iapple</strong> which has members as property <strong>int i</strong> and <strong>int j</strong>
i want to assign values to <strong>i</strong> and <strong>j</strong> and send the whole interface as a parameter say like this</p>

<p><strong>Method(Iapple var);</strong>  </p>

<p>is it poss? Sorry if am poor at basics please help me out. thanks in advance</p>
