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

C#

 
QuestionRe: windows forms application using workflow c# Pin
Zeyad Jalil17-Jun-08 19:32
professionalZeyad Jalil17-Jun-08 19:32 
AnswerRe: windows forms application using workflow c# Pin
Kevin McFarlane17-Jun-08 21:59
Kevin McFarlane17-Jun-08 21:59 
QuestionReportViewer: How to get current subreport title in parent report header Pin
OregonGhost17-Jun-08 0:45
OregonGhost17-Jun-08 0:45 
QuestionBusiness classes in windows application and webservice implement same interface Pin
N a v a n e e t h17-Jun-08 0:32
N a v a n e e t h17-Jun-08 0:32 
QuestionHow can I detect the decimal separator of the current host? Pin
bouli17-Jun-08 0:31
bouli17-Jun-08 0:31 
AnswerRe: How can I detect the decimal separator of the current host? PinPopular
DaveyM6917-Jun-08 0:40
professionalDaveyM6917-Jun-08 0:40 
AnswerRe: How can I detect the decimal separator of the current host? PinPopular
DaveyM6917-Jun-08 0:44
professionalDaveyM6917-Jun-08 0:44 
Questionpass by value Pin
DaveyM6917-Jun-08 0:16
professionalDaveyM6917-Jun-08 0:16 
If we have a value type, we can force it to be passed by reference using the ref keyword.

Is it possible to do the inverse - pass a reference type by value?

At the moment my class creates a sort of shadow of itself as a struct and passes the struct to acheive this, but I'm sure there's a better way. I looked at cloning but the shallow/deep issues seemed to be more trouble than they were worth!

Dave

AnswerRe: pass by value Pin
Simon P Stevens17-Jun-08 0:40
Simon P Stevens17-Jun-08 0:40 
GeneralRe: pass by value Pin
Guffa17-Jun-08 0:50
Guffa17-Jun-08 0:50 
GeneralRe: pass by value Pin
Simon P Stevens17-Jun-08 1:07
Simon P Stevens17-Jun-08 1:07 
GeneralRe: pass by value Pin
Guffa17-Jun-08 3:21
Guffa17-Jun-08 3:21 
GeneralRe: pass by value Pin
DaveyM6917-Jun-08 0:55
professionalDaveyM6917-Jun-08 0:55 
GeneralRe: pass by value Pin
Simon P Stevens17-Jun-08 1:19
Simon P Stevens17-Jun-08 1:19 
AnswerRe: pass by value Pin
RugbyLeague17-Jun-08 0:48
RugbyLeague17-Jun-08 0:48 
GeneralRe: pass by value Pin
DaveyM6917-Jun-08 0:58
professionalDaveyM6917-Jun-08 0:58 
GeneralRe: pass by value Pin
RugbyLeague17-Jun-08 1:00
RugbyLeague17-Jun-08 1:00 
AnswerRe: pass by value Pin
N a v a n e e t h17-Jun-08 0:49
N a v a n e e t h17-Jun-08 0:49 
GeneralRe: pass by value Pin
DaveyM6917-Jun-08 0:59
professionalDaveyM6917-Jun-08 0:59 
AnswerRe: pass by value Pin
CPallini17-Jun-08 0:50
mveCPallini17-Jun-08 0:50 
GeneralRe: pass by value Pin
DaveyM6917-Jun-08 1:00
professionalDaveyM6917-Jun-08 1:00 
GeneralRe: pass by value Pin
Guffa17-Jun-08 1:08
Guffa17-Jun-08 1:08 
GeneralRe: pass by value Pin
Christian Flutcher17-Jun-08 1:31
Christian Flutcher17-Jun-08 1:31 
GeneralRe: pass by value Pin
Simon P Stevens17-Jun-08 1:37
Simon P Stevens17-Jun-08 1:37 
AnswerRe: pass by value Pin
V.17-Jun-08 2:50
professionalV.17-Jun-08 2:50 

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.