Is there possible to get a method from one class to another class in asp.net web site?
for eg,
i am having a method StringSplit in Contact.aspx.cs class i need to call StringSplit in About.aspx.cs. is it possible?
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
Midhun TpRank #388 · 6.5K reputationPosted Dec 14, 2016, 12:33 AM EST
Prakash KumarRank #1,798 · 828 reputationPosted Dec 14, 2016, 1:20 AM EST
Shweta LodhaRank #31 · 39.8K reputationPosted Dec 14, 2016, 1:30 AM EST
Prakash,
If you are not bothered about correct approach, design patterns or coding standards, then everything is possible.
Prakash KumarRank #1,798 · 828 reputationPosted Dec 14, 2016, 2:08 AM EST
Ananth GRank #1,176 · 1.5K reputationPosted Dec 14, 2016, 6:24 AM EST