title: Use of one class object in another class?
body: <p>i am making applications in c#.In that application i have one class as <code>DataCapture.cs</code>. In same application i have another class as <code>Listner.cs</code> . Here in Listner.cs class i want to use object of <code>DataCapture.cs</code> without creating new object of <code>DataCapture.cs</code>. As if i am creating new object of <code>DataCapture.cs</code>,i cant access the the data <code>DataCapture.cs</code> as it creates the new instance of class and all data gets lost as i am using collection in <code>DataCapture.cs</code>.Please help me.Thanks in advance.</p>