I thank you all for your kind help. Leslie Sanford's example looks wonderful. I shall implement this and see. Thanks again:)
dnahelix
I thank you all for your kind help. Leslie Sanford's example looks wonderful. I shall implement this and see. Thanks again:)
dnahelix
I am unable to figure out how to use the get-set style public properties to manipulate the private arrays of that class? for example public class Patient { private string[] m_labValues //this is what i am clueless about. //how do i get down to elements of this array? //i am sure that this implementation is wrong. public string LabValues { get { return m_labValues; } set { m_labValues = value; } } } from my main class i desire an ability to directly manipulate the elements...like: private Patient patient = new Patient(); patient.LabValues=new String[6]; patient.LabValues[0]="B.P is 120,80"; patient.LabValues[1]="Blood Sugar is 160" .. .. .. I'm totally clueless about implementing this. I understand that if i declare the m_LabValues itself as public, i will be able to manipulate it directly with out using the get-set style Can some one please help me?
dnahelix