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

C#

 
GeneralRe: I did my home but need some tuning Pin
netJP12L15-Jun-08 16:47
netJP12L15-Jun-08 16:47 
GeneralRe: I did my home but need some tuning Pin
AB777115-Jun-08 17:53
AB777115-Jun-08 17:53 
GeneralRe: I did my home but need some tuning Pin
netJP12L16-Jun-08 4:56
netJP12L16-Jun-08 4:56 
GeneralRe: I did my home but need some tuning Pin
AB777116-Jun-08 14:36
AB777116-Jun-08 14:36 
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 
Hello everyone,


In my sample below, abcd is out parameter. I think it only reduces the value copy from input parameter of caller (Main), and it does not reduces value copy from instance returned from DateTime.Now to abcd (assignment), correct?

(in more details when we do assignment abcd = DateTime.Now, a new instance will be created, and value copied from DateTime.Now return instance, and making abcd point to the new instance?)

static void Test2(out DateTime abcd)
{
    abcd = DateTime.Now;
}

static void Main(string[] args)
{
    DateTime abcd;

    Test2(out abcd);

    return;
}



thanks in advance,
George
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 
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 

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.