Click here to Skip to main content
15,895,256 members
Home / Discussions / C#
   

C#

 
Questionneed program Pin
dharikitty23-Oct-07 10:07
dharikitty23-Oct-07 10:07 
AnswerRe: need program Pin
pmarfleet23-Oct-07 10:22
pmarfleet23-Oct-07 10:22 
AnswerRe: need program Pin
il_masacratore23-Oct-07 11:09
il_masacratore23-Oct-07 11:09 
AnswerRe: need program Pin
Spacix One23-Oct-07 11:16
Spacix One23-Oct-07 11:16 
AnswerRe: need program Pin
Guffa23-Oct-07 11:45
Guffa23-Oct-07 11:45 
AnswerRe: need program Pin
Ravi Bhavnani23-Oct-07 17:51
professionalRavi Bhavnani23-Oct-07 17:51 
QuestionProblem with SortedList and call by value Pin
sf10123-Oct-07 9:02
sf10123-Oct-07 9:02 
AnswerRe: Problem with SortedList and call by value Pin
Dave Kreskowiak23-Oct-07 9:38
mveDave Kreskowiak23-Oct-07 9:38 
In a simplified nutshell, only value types get passed by value. Reference types, like SortedList, always get passed by reference, so yes, if you modify the reference passed in, you're modifying the original object. Objects only get copied if you EXPLICITLY copy them yourself.



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


AnswerRe: Problem with SortedList and call by value Pin
pmarfleet23-Oct-07 9:44
pmarfleet23-Oct-07 9:44 
AnswerRe: Problem with SortedList and call by value Pin
Luc Pattyn23-Oct-07 11:56
sitebuilderLuc Pattyn23-Oct-07 11:56 
Questionerror Pin
memaia23-Oct-07 8:52
memaia23-Oct-07 8:52 
AnswerRe: error Pin
pmarfleet23-Oct-07 9:33
pmarfleet23-Oct-07 9:33 
AnswerRe: error [modified] Pin
Dave Kreskowiak23-Oct-07 9:36
mveDave Kreskowiak23-Oct-07 9:36 
GeneralRe: error Pin
Anthony Mushrow23-Oct-07 10:51
professionalAnthony Mushrow23-Oct-07 10:51 
GeneralRe: error Pin
Luc Pattyn23-Oct-07 11:59
sitebuilderLuc Pattyn23-Oct-07 11:59 
GeneralRe: error Pin
Dave Kreskowiak23-Oct-07 13:54
mveDave Kreskowiak23-Oct-07 13:54 
QuestionHow add data into DataGrid dynamically Pin
A.Asif23-Oct-07 8:25
A.Asif23-Oct-07 8:25 
AnswerRe: How add data into DataGrid dynamically Pin
pmarfleet23-Oct-07 9:30
pmarfleet23-Oct-07 9:30 
GeneralRe: How add data into DataGrid dynamically Pin
A.Asif23-Oct-07 9:46
A.Asif23-Oct-07 9:46 
GeneralRe: How add data into DataGrid dynamically Pin
pmarfleet23-Oct-07 9:55
pmarfleet23-Oct-07 9:55 
AnswerRe: How add data into DataGrid dynamically Pin
kenprog23-Oct-07 14:46
kenprog23-Oct-07 14:46 
Questioncan't play song ! Pin
whale8423-Oct-07 8:23
whale8423-Oct-07 8:23 
AnswerRe: can't play song ! Pin
pmarfleet23-Oct-07 9:26
pmarfleet23-Oct-07 9:26 
JokeRe: can't play song ! Pin
Luc Pattyn23-Oct-07 12:02
sitebuilderLuc Pattyn23-Oct-07 12:02 
GeneralRe: can't play song ! Pin
pmarfleet23-Oct-07 12:35
pmarfleet23-Oct-07 12:35 

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.