how to use the first class values in secondd class????????
How to return the values
am using two classes
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 10, 2013, 2:59 AM EDT
There are so many, but before that like to know how you are using two class. Can you provide the details?
Regards,
Iftikar
VulpesRank #55 · 29.2K reputationPosted Jul 10, 2013, 3:06 AM EDT
MethodA called
Jignesh TrivediRank #16 · 50.3K reputationPosted Jul 10, 2013, 3:11 AM EDT
hi,
i think this is done by injecting dependancy of second class into first class.
Please refer my article
http://www.c-sharpcorner.com/UploadFile/ff2f08/dependency-injection-pattern/
hope this will help you.