Click here to Skip to main content
15,901,853 members
Home / Discussions / C#
   

C#

 
Questionupdating error using oledbcommandbuilder Pin
ginji2015-Jun-08 15:16
ginji2015-Jun-08 15:16 
AnswerRe: updating error using oledbcommandbuilder Pin
Christian Graus15-Jun-08 15:18
protectorChristian Graus15-Jun-08 15:18 
GeneralRe: updating error using oledbcommandbuilder Pin
ginji2015-Jun-08 17:30
ginji2015-Jun-08 17:30 
Questionout variable assignment Pin
George_George15-Jun-08 15:13
George_George15-Jun-08 15:13 
AnswerRe: out variable assignment Pin
Christian Graus15-Jun-08 15:17
protectorChristian Graus15-Jun-08 15:17 
GeneralRe: out variable assignment Pin
George_George15-Jun-08 15:25
George_George15-Jun-08 15:25 
GeneralRe: out variable assignment Pin
Christian Graus15-Jun-08 15:27
protectorChristian Graus15-Jun-08 15:27 
GeneralRe: out variable assignment Pin
George_George15-Jun-08 15:49
George_George15-Jun-08 15:49 
Thanks Christian!


Here is the IL code I got. I think you are correct. Using stobj will make a value copy, right? Smile | :)

.method private hidebysig static void Test2([out] valuetype [mscorlib]System.DateTime& abcd) cil managed
{
    .maxstack 8
    L_0000: nop 
    L_0001: ldarg.0 
    L_0002: call valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::get_Now()
    L_0007: stobj [mscorlib]System.DateTime
    L_000c: ret 
}



regards,
George
GeneralRe: out variable assignment Pin
S. Senthil Kumar15-Jun-08 18:16
S. Senthil Kumar15-Jun-08 18:16 
GeneralRe: out variable assignment Pin
George_George15-Jun-08 18:51
George_George15-Jun-08 18:51 
GeneralRe: out variable assignment Pin
S. Senthil Kumar15-Jun-08 19:03
S. Senthil Kumar15-Jun-08 19:03 
GeneralRe: out variable assignment Pin
George_George15-Jun-08 19:14
George_George15-Jun-08 19:14 
GeneralRe: out variable assignment Pin
S. Senthil Kumar15-Jun-08 19:34
S. Senthil Kumar15-Jun-08 19:34 
GeneralRe: out variable assignment Pin
George_George15-Jun-08 19:38
George_George15-Jun-08 19:38 
AnswerRe: out variable assignment Pin
leppie15-Jun-08 19:06
leppie15-Jun-08 19:06 
QuestionSend Keys from WebApp to WinForms Pin
willybt8815-Jun-08 12:48
willybt8815-Jun-08 12:48 
AnswerRe: Send Keys from WebApp to WinForms Pin
Christian Graus15-Jun-08 12:58
protectorChristian Graus15-Jun-08 12:58 
Questionsimple regular expression problem Pin
Stephen Po15-Jun-08 11:55
Stephen Po15-Jun-08 11:55 
AnswerRe: simple regular expression problem Pin
Christian Graus15-Jun-08 12:09
protectorChristian Graus15-Jun-08 12:09 
QuestionProblem to Send Message to other Clients via MSMQ [modified] Pin
hdv21215-Jun-08 11:15
hdv21215-Jun-08 11:15 
QuestionGraphicsPath remove or alter line Pin
Chris Copeland15-Jun-08 11:13
mveChris Copeland15-Jun-08 11:13 
QuestionConverting a project to .Net 3 Pin
Muammar©15-Jun-08 9:28
Muammar©15-Jun-08 9:28 
AnswerRe: Converting a project to .Net 3 Pin
Christian Graus15-Jun-08 9:32
protectorChristian Graus15-Jun-08 9:32 
GeneralRe: Converting a project to .Net 3 Pin
Muammar©15-Jun-08 9:37
Muammar©15-Jun-08 9:37 
GeneralRe: Converting a project to .Net 3 Pin
Christian Graus15-Jun-08 9:43
protectorChristian Graus15-Jun-08 9:43 

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.