7
Answers

how to declare and calling a class within a different class?

Abbas Hamza

Abbas Hamza

10y
1.3k
1
Hi Guys,
i have  several classes that i have created for simple wpf data entries like personal information for students and separate one for drivers and supervisors.
i thought to create a sepsarate class to contain common fields like addresses telephone and contact details all inked to corresponding object in column called Addres_Id that will be inserted from each object i.e student , driver.
the form for each object will include contact and addresses details.
my question how would i go about thi and call the shared class from within each object to be inserted within each object. 
thank you in advance
 
Answers (7)