Newbie: Grouping Commonly-used Methods

  • Thread starter Thread starter Myk Quayce
  • Start date Start date
M

Myk Quayce

I'm writing a website using Notepad and ASP.NET and C#, and I'm trying to
determine the best way of grouping commonly-used methods so they can be
accessed by many .aspx pages.

Any help would be greatly appreciated.
 
Myk Quayce said:
I'm writing a website using Notepad and ASP.NET and C#, and I'm trying to
determine the best way of grouping commonly-used methods so they can be
accessed by many .aspx pages.

Any help would be greatly appreciated.

You can make the methods be public static members of a public class. Then
any page will be able to access them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top