Click here to Skip to main content
15,896,497 members
Home / Discussions / C#
   

C#

 
AnswerRe: converting to int Pin
Luc Pattyn27-Apr-11 14:47
sitebuilderLuc Pattyn27-Apr-11 14:47 
AnswerRe: converting to int Pin
jojoba201127-Apr-11 5:32
jojoba201127-Apr-11 5:32 
GeneralRe: converting to int Pin
Luc Pattyn27-Apr-11 6:43
sitebuilderLuc Pattyn27-Apr-11 6:43 
AnswerRe: converting to int Pin
Nagy Vilmos27-Apr-11 5:50
professionalNagy Vilmos27-Apr-11 5:50 
AnswerRe: converting to int Pin
jojoba201127-Apr-11 6:36
jojoba201127-Apr-11 6:36 
GeneralRe: converting to int Pin
Richard MacCutchan27-Apr-11 6:56
mveRichard MacCutchan27-Apr-11 6:56 
AnswerRe: converting to int Pin
jojoba201127-Apr-11 7:34
jojoba201127-Apr-11 7:34 
GeneralRe: converting to int Pin
AspDotNetDev27-Apr-11 7:38
protectorAspDotNetDev27-Apr-11 7:38 
AnswerRe: converting to int Pin
AspDotNetDev27-Apr-11 7:41
protectorAspDotNetDev27-Apr-11 7:41 
Questionslow in filling data in datagridview Pin
jojoba201127-Apr-11 4:03
jojoba201127-Apr-11 4:03 
AnswerRe: slow in filling data in datagridview Pin
Blue_Boy27-Apr-11 4:14
Blue_Boy27-Apr-11 4:14 
AnswerRe: slow in filling data in datagridview Pin
Rob Philpott27-Apr-11 4:21
Rob Philpott27-Apr-11 4:21 
AnswerRe: slow in filling data in datagridview Pin
R. Giskard Reventlov27-Apr-11 4:25
R. Giskard Reventlov27-Apr-11 4:25 
GeneralRe: slow in filling data in datagridview Pin
OriginalGriff27-Apr-11 8:25
mveOriginalGriff27-Apr-11 8:25 
AnswerRe: slow in filling data in datagridview Pin
thatraja27-Apr-11 4:35
professionalthatraja27-Apr-11 4:35 
AnswerRe: slow in filling data in datagridview Pin
Dhyanga27-Apr-11 7:12
Dhyanga27-Apr-11 7:12 
QuestionA question about references Pin
6,921,364 and growing27-Apr-11 3:32
6,921,364 and growing27-Apr-11 3:32 
AnswerRe: A question about references Pin
Rob Philpott27-Apr-11 3:44
Rob Philpott27-Apr-11 3:44 
GeneralRe: A question about references Pin
6,921,364 and growing27-Apr-11 18:19
6,921,364 and growing27-Apr-11 18:19 
GeneralRe: A question about references Pin
6,921,364 and growing27-Apr-11 18:34
6,921,364 and growing27-Apr-11 18:34 
AnswerRe: A question about references Pin
Ian Shlasko27-Apr-11 3:46
Ian Shlasko27-Apr-11 3:46 
Simple... The key is the way you pass the reference to ChangeClass.

When you do ChangeClass(tc), you're only sending a reference to tc... You're telling ChangeClass where, in memory, it can find the data in tc. And since you didn't specify the ref keyword when passing it to ChangeClass, you're just sending a COPY of the reference, not the original variable.

As an analogy... I have the URL to a website, and I e-mail it to you. You erase your e-mail, but you haven't erased my copy of the URL, just your own.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

AnswerRe: A question about references Pin
6,921,364 and growing27-Apr-11 18:31
6,921,364 and growing27-Apr-11 18:31 
GeneralRe: A question about references Pin
Ian Shlasko28-Apr-11 1:36
Ian Shlasko28-Apr-11 1:36 
GeneralRe: A question about references Pin
6,921,364 and growing28-Apr-11 3:33
6,921,364 and growing28-Apr-11 3:33 
AnswerRe: A question about references Pin
V.27-Apr-11 3:52
professionalV.27-Apr-11 3:52 

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.