Click here to Skip to main content
15,888,162 members
Home / Discussions / C#
   

C#

 
AnswerRe: C Function returns struct - how to use in c#? Pin
Leslie Sanford6-Apr-07 14:11
Leslie Sanford6-Apr-07 14:11 
GeneralRe: C Function returns struct - how to use in c#? Pin
Grizzley907-Apr-07 2:38
Grizzley907-Apr-07 2:38 
GeneralRe: C Function returns struct - how to use in c#? Pin
Leslie Sanford7-Apr-07 4:39
Leslie Sanford7-Apr-07 4:39 
GeneralRe: C Function returns struct - how to use in c#? Pin
Grizzley907-Apr-07 5:24
Grizzley907-Apr-07 5:24 
GeneralRe: C Function returns struct - how to use in c#? Pin
Leslie Sanford7-Apr-07 5:39
Leslie Sanford7-Apr-07 5:39 
GeneralRe: C Function returns struct - how to use in c#? Pin
Grizzley907-Apr-07 5:53
Grizzley907-Apr-07 5:53 
QuestionGetting handler of current running Outllook application. Pin
pnpfriend6-Apr-07 10:19
pnpfriend6-Apr-07 10:19 
QuestionHow do i create a public variable? Pin
joaquimc6-Apr-07 9:49
joaquimc6-Apr-07 9:49 
I need a variable whose value is known in all program code.

No it's not a constant, it's a variable whose value changes, but i need to access to its value in other program parts.

If i create a class with a property, everytime i change module i need to create a class reference again, and the property is reset to its default value, i need to keep its value all along the program life, this is simple in all other programing languages, but in C# i didn't manage to do this.

How do i do this, and where to do this?

Thank you,
Joaquim
AnswerRe: How do i create a public variable? Pin
SABhatti6-Apr-07 9:59
SABhatti6-Apr-07 9:59 
GeneralRe: How do i create a public variable? Pin
joaquimc6-Apr-07 10:10
joaquimc6-Apr-07 10:10 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 10:34
Colin Angus Mackay6-Apr-07 10:34 
GeneralRe: How do i create a public variable? Pin
joaquimc6-Apr-07 10:42
joaquimc6-Apr-07 10:42 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 11:58
Colin Angus Mackay6-Apr-07 11:58 
GeneralRe: How do i create a public variable? Pin
SABhatti6-Apr-07 10:46
SABhatti6-Apr-07 10:46 
GeneralRe: How do i create a public variable? Pin
BoneSoft6-Apr-07 11:23
BoneSoft6-Apr-07 11:23 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 12:02
Colin Angus Mackay6-Apr-07 12:02 
GeneralRe: How do i create a public variable? Pin
joaquimc6-Apr-07 12:25
joaquimc6-Apr-07 12:25 
GeneralRe: How do i create a public variable? Pin
BoneSoft6-Apr-07 12:27
BoneSoft6-Apr-07 12:27 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 12:29
Colin Angus Mackay6-Apr-07 12:29 
GeneralRe: How do i create a public variable? [modified] Pin
joaquimc6-Apr-07 12:58
joaquimc6-Apr-07 12:58 
GeneralRe: How do i create a public variable? Pin
Colin Angus Mackay6-Apr-07 14:07
Colin Angus Mackay6-Apr-07 14:07 
GeneralRe: How do i create a public variable? Pin
Dave Kreskowiak6-Apr-07 17:11
mveDave Kreskowiak6-Apr-07 17:11 
GeneralRe: How do i create a public variable? Pin
Dave Kreskowiak6-Apr-07 17:08
mveDave Kreskowiak6-Apr-07 17:08 
GeneralRe: How do i create a public variable? Pin
joaquimc6-Apr-07 21:23
joaquimc6-Apr-07 21:23 
GeneralRe: How do i create a public variable? Pin
Dave Kreskowiak7-Apr-07 5:51
mveDave Kreskowiak7-Apr-07 5:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.