[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

global functions in wonforms

VS2005 WINFORMS C#.
In ASP.NET  it is recomended to have a folder App_Code and there we put things that are shared between pages.
Is it recomended to create such a folder in winforms? and if not where is it recomend to write global functions?
Thankyou
Anat
0
ANAT2403
Asked:
ANAT2403
1 Solution
 
Bob LearnedCommented:
You don't need a folder like that, just create static methods in a global class:

public class GlobalFunctions
{

public static string GetConnectionString()
{
}

}

Bob
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now