Click here to Skip to main content
15,884,237 members
Home / Discussions / C#
   

C#

 
GeneralRe: Trouble passing variables Pin
Wes Aday27-Aug-12 6:02
professionalWes Aday27-Aug-12 6:02 
GeneralRe: Trouble passing variables Pin
drgsldr6927-Aug-12 6:18
drgsldr6927-Aug-12 6:18 
GeneralRe: Trouble passing variables Pin
Wes Aday27-Aug-12 6:34
professionalWes Aday27-Aug-12 6:34 
GeneralRe: Trouble passing variables Pin
drgsldr6927-Aug-12 7:54
drgsldr6927-Aug-12 7:54 
GeneralRe: Trouble passing variables Pin
drgsldr6927-Aug-12 7:58
drgsldr6927-Aug-12 7:58 
GeneralRe: Trouble passing variables Pin
Wes Aday27-Aug-12 8:15
professionalWes Aday27-Aug-12 8:15 
GeneralRe: Trouble passing variables Pin
drgsldr6927-Aug-12 13:53
drgsldr6927-Aug-12 13:53 
AnswerRe: Trouble passing variables Pin
BillWoodruff26-Aug-12 15:23
professionalBillWoodruff26-Aug-12 15:23 
I think Wes has effectively answered your questions.

But, a word of advice, it's good to make clear that what you are passing in this case to a function is not a "variable" but the value (in this case a string) contained inside that variable.

When you are ready, you should examine the keywords 'ref, and 'out to understand the possibilities of what may happen when you want a change to a passed in value within some function to affect the variable that was the source of the parameter in the function.

best, Bill

"If you shoot at mimes, should you use a silencer ?" Stephen Wright

GeneralRe: Trouble passing variables Pin
drgsldr6926-Aug-12 15:44
drgsldr6926-Aug-12 15:44 
QuestionDatabase Connection on Deployment Pin
SHASHANK SAGAR26-Aug-12 8:36
SHASHANK SAGAR26-Aug-12 8:36 
AnswerRe: Database Connection on Deployment Pin
Eddy Vluggen26-Aug-12 8:49
professionalEddy Vluggen26-Aug-12 8:49 
AnswerRe: Database Connection on Deployment Pin
Vijay Selvaraj26-Aug-12 21:53
Vijay Selvaraj26-Aug-12 21:53 
GeneralRe: Database Connection on Deployment Pin
SHASHANK SAGAR27-Aug-12 3:07
SHASHANK SAGAR27-Aug-12 3:07 
AnswerRe: Database Connection on Deployment Pin
Shameel27-Aug-12 5:28
professionalShameel27-Aug-12 5:28 
QuestionWhere is my System.Drawing Pin
hosseinDolat25-Aug-12 22:55
hosseinDolat25-Aug-12 22:55 
AnswerRe: Where is my System.Drawing Pin
Richard MacCutchan25-Aug-12 23:02
mveRichard MacCutchan25-Aug-12 23:02 
AnswerRe: Where is my System.Drawing Pin
Eddy Vluggen25-Aug-12 23:32
professionalEddy Vluggen25-Aug-12 23:32 
GeneralRe: Where is my System.Drawing Pin
hosseinDolat26-Aug-12 0:04
hosseinDolat26-Aug-12 0:04 
QuestionAnother textbox question [SOLVED] Pin
Diego Carrion25-Aug-12 22:25
Diego Carrion25-Aug-12 22:25 
AnswerRe: Another textbox question Pin
OriginalGriff25-Aug-12 22:35
mveOriginalGriff25-Aug-12 22:35 
GeneralRe: Another textbox question Pin
Diego Carrion25-Aug-12 22:42
Diego Carrion25-Aug-12 22:42 
GeneralRe: Another textbox question Pin
OriginalGriff25-Aug-12 22:51
mveOriginalGriff25-Aug-12 22:51 
GeneralRe: Another textbox question Pin
Diego Carrion25-Aug-12 22:55
Diego Carrion25-Aug-12 22:55 
GeneralRe: Another textbox question Pin
OriginalGriff25-Aug-12 23:30
mveOriginalGriff25-Aug-12 23:30 
GeneralRe: Another textbox question Pin
Diego Carrion26-Aug-12 7:43
Diego Carrion26-Aug-12 7:43 

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.