Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: A question about references Pin
Ian Shlasko27-Apr-11 3:54
Ian Shlasko27-Apr-11 3:54 
QuestionOpinion on the following please... Pin
Rob Philpott27-Apr-11 3:15
Rob Philpott27-Apr-11 3:15 
AnswerRe: Opinion on the following please... Pin
Pete O'Hanlon27-Apr-11 3:17
mvePete O'Hanlon27-Apr-11 3:17 
GeneralRe: Opinion on the following please... Pin
Rob Philpott27-Apr-11 3:24
Rob Philpott27-Apr-11 3:24 
AnswerRe: Opinion on the following please... Pin
Ian Shlasko27-Apr-11 3:19
Ian Shlasko27-Apr-11 3:19 
GeneralRe: Opinion on the following please... Pin
Paladin200027-Apr-11 3:30
Paladin200027-Apr-11 3:30 
GeneralRe: Opinion on the following please... Pin
Rob Philpott27-Apr-11 3:36
Rob Philpott27-Apr-11 3:36 
GeneralRe: Opinion on the following please... Pin
Paladin200027-Apr-11 3:43
Paladin200027-Apr-11 3:43 
AnswerRe: Opinion on the following please... Pin
PIEBALDconsult27-Apr-11 14:30
mvePIEBALDconsult27-Apr-11 14:30 
QuestionGauge control to show an angle variation Pin
AlexB4727-Apr-11 3:08
AlexB4727-Apr-11 3:08 
AnswerRe: Gauge control to show an angle variation Pin
Ian Shlasko27-Apr-11 3:17
Ian Shlasko27-Apr-11 3:17 
QuestionAttributes in C# Pin
Loithuxua27-Apr-11 0:15
Loithuxua27-Apr-11 0:15 
AnswerRe: Attributes in C# PinPopular
Pete O'Hanlon27-Apr-11 0:21
mvePete O'Hanlon27-Apr-11 0:21 

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.