private void button1_Click(object sender, EventArgs e) { chris c = new chris();//new instance of class now object c.clp(); c.a = 103; chris p = new chris();// new object from same class. p.clp(); }