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

C#

 
GeneralRe: Problem with ByValue Parameters Pin
KaptinKrunch19-Sep-05 8:53
KaptinKrunch19-Sep-05 8:53 
GeneralRe: Problem with ByValue Parameters Pin
Seraphin19-Sep-05 9:10
Seraphin19-Sep-05 9:10 
GeneralBad solution - copy objects Pin
Seraphin19-Sep-05 9:19
Seraphin19-Sep-05 9:19 
GeneralRe: Bad solution - copy objects Pin
tommazzo19-Sep-05 10:36
tommazzo19-Sep-05 10:36 
QuestionC# reference parameter Pin
Csupor Jenő19-Sep-05 7:32
Csupor Jenő19-Sep-05 7:32 
AnswerRe: C# reference parameter Pin
Dave Kreskowiak19-Sep-05 8:34
mveDave Kreskowiak19-Sep-05 8:34 
GeneralRe: C# reference parameter Pin
Csupor Jenő19-Sep-05 8:51
Csupor Jenő19-Sep-05 8:51 
GeneralRe: C# reference parameter Pin
Dave Kreskowiak19-Sep-05 9:28
mveDave Kreskowiak19-Sep-05 9:28 
The first parameter can be passed as any type of object, but the second parameter MUST be passed as Object.
Interlocked.Exchange( someType1, CType(someType2, Object))

If you can convert null to an Object, you're in business.

Interlocked.Exchange Method (Object, Object)[^] docs on MSDN.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

QuestionANDing, XOR 2 images Pin
DeepToot19-Sep-05 7:32
DeepToot19-Sep-05 7:32 
AnswerRe: ANDing, XOR 2 images Pin
Christian Graus19-Sep-05 11:40
protectorChristian Graus19-Sep-05 11:40 
QuestionAbout filealign compiler option Pin
Dario Solera19-Sep-05 7:12
Dario Solera19-Sep-05 7:12 
AnswerRe: About filealign compiler option Pin
leppie19-Sep-05 7:19
leppie19-Sep-05 7:19 
AnswerRe: About filealign compiler option Pin
Dave Kreskowiak19-Sep-05 8:05
mveDave Kreskowiak19-Sep-05 8:05 
GeneralRe: About filealign compiler option Pin
Dario Solera19-Sep-05 21:51
Dario Solera19-Sep-05 21:51 
Questioncalling a function in reflection Pin
Yoyosch19-Sep-05 6:21
Yoyosch19-Sep-05 6:21 
AnswerRe: calling a function in reflection Pin
leppie19-Sep-05 7:13
leppie19-Sep-05 7:13 
AnswerRe: calling a function in reflection Pin
Andy Moore19-Sep-05 7:28
Andy Moore19-Sep-05 7:28 
QuestionRe: calling a function in reflection Pin
Yoyosch20-Sep-05 6:41
Yoyosch20-Sep-05 6:41 
QuestionDataGrid values Pin
zaboboa19-Sep-05 6:05
zaboboa19-Sep-05 6:05 
QuestionTextbox visibility and data binding Pin
Wjousts19-Sep-05 6:01
Wjousts19-Sep-05 6:01 
QuestionSorting Arraylists Twice Pin
jgallen2319-Sep-05 5:30
jgallen2319-Sep-05 5:30 
AnswerRe: Sorting Arraylists Twice Pin
Stefan Troschuetz19-Sep-05 7:50
Stefan Troschuetz19-Sep-05 7:50 
Questioncombo boxes not updating Pin
Tom Wright19-Sep-05 5:22
Tom Wright19-Sep-05 5:22 
AnswerRe: combo boxes not updating Pin
KaptinKrunch19-Sep-05 7:21
KaptinKrunch19-Sep-05 7:21 
QuestionOptions Design Pin
OmegaSupreme19-Sep-05 4:58
OmegaSupreme19-Sep-05 4:58 

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.