Hey all ,,,,
basicly i come from a vb language to c# and i'm using couple of varables and constant that i'm using upon all my project so is there any way that i can set like a public variable that i can use every time i need or even a publicc method or something like that ??
GagaCode
0
Light Poster
Recommended Answers
Jump to PostThe closest you can get would be a static class in C# with those variables as members. Place that class in a shared assembly (if your project uses more than one assembly) and you're good to go.
All 3 Replies
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
GagaCode
commented:
thaks
+0
GagaCode
0
Light Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.