Author Topic: Where to store C# functions  (Read 4233 times)

0 Members and 1 Guest are viewing this topic.

Offline m0l0ko

  • Peasant
  • *
  • Posts: 129
  • Cookies: -4
    • View Profile
Where to store C# functions
« on: October 05, 2012, 07:07:59 pm »
In PHP, I usually make a functions.php file in which I store all the functions I make, then I just use the command include("functions.php") to use them in my PHP scripts. I'm new to ASP.NET and I see things are done differently. Whats the correct way to do it in C#?

Offline relax

  • Sir
  • ***
  • Posts: 562
  • Cookies: 114
  • The one and only
    • View Profile
Re: Where to store C# functions
« Reply #1 on: October 05, 2012, 07:22:20 pm »
<!--#include file=""-->

reminds of the vulnerability SSI <!--#exec cmd="ls"-->
« Last Edit: October 05, 2012, 07:24:55 pm by relax »