Click here to Skip to main content
15,894,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: DateTime.Now Pin
Guffa11-Jun-08 20:24
Guffa11-Jun-08 20:24 
GeneralRe: DateTime.Now Pin
George_George11-Jun-08 22:19
George_George11-Jun-08 22:19 
AnswerRe: DateTime.Now Pin
DaveyM6910-Jun-08 3:32
professionalDaveyM6910-Jun-08 3:32 
GeneralRe: DateTime.Now Pin
Guffa10-Jun-08 4:20
Guffa10-Jun-08 4:20 
GeneralRe: DateTime.Now Pin
DaveyM6910-Jun-08 4:43
professionalDaveyM6910-Jun-08 4:43 
GeneralRe: DateTime.Now Pin
Guffa10-Jun-08 6:03
Guffa10-Jun-08 6:03 
GeneralRe: DateTime.Now Pin
DaveyM6911-Jun-08 0:41
professionalDaveyM6911-Jun-08 0:41 
GeneralRe: DateTime.Now Pin
George_George11-Jun-08 1:33
George_George11-Jun-08 1:33 
Hi Dave,


Excellent reply! Two more comments,

1.

For out parameter, like outParameter in your sample, even if it is a value type (struct), there is no additional copy, i.e. the instance of ExampleDateTime in function Now is the same as the one we pass into this function (variable example)?

2.

DaveyM69 wrote:
there are two DateTimes, the nowDateTime and the one returned and copied from DateTime.Now.


Your above statement is really tricky to understand. Sorry my English is not good, could you express in some other words please? Smile | :)


regards,
George
GeneralRe: DateTime.Now Pin
DaveyM6911-Jun-08 2:37
professionalDaveyM6911-Jun-08 2:37 
GeneralRe: DateTime.Now Pin
George_George11-Jun-08 16:31
George_George11-Jun-08 16:31 
GeneralRe: DateTime.Now Pin
DaveyM6912-Jun-08 0:39
professionalDaveyM6912-Jun-08 0:39 
GeneralRe: DateTime.Now Pin
George_George12-Jun-08 1:29
George_George12-Jun-08 1:29 
GeneralRe: DateTime.Now Pin
Guffa11-Jun-08 2:19
Guffa11-Jun-08 2:19 
GeneralRe: DateTime.Now Pin
George_George11-Jun-08 1:28
George_George11-Jun-08 1:28 
GeneralRe: DateTime.Now Pin
George_George11-Jun-08 1:26
George_George11-Jun-08 1:26 
AnswerRe: DateTime.Now Pin
#realJSOP10-Jun-08 6:29
mve#realJSOP10-Jun-08 6:29 
GeneralRe: DateTime.Now Pin
George_George11-Jun-08 1:40
George_George11-Jun-08 1:40 
Questionasynchronous function callback Pin
George_George9-Jun-08 17:14
George_George9-Jun-08 17:14 
AnswerRe: asynchronous function callback Pin
N a v a n e e t h11-Jun-08 16:22
N a v a n e e t h11-Jun-08 16:22 
GeneralRe: asynchronous function callback Pin
George_George11-Jun-08 16:34
George_George11-Jun-08 16:34 
QuestionWill Using Console.Beep(); Too Much Damage Your Computer? Pin
qszwdxefc9-Jun-08 16:59
qszwdxefc9-Jun-08 16:59 
AnswerRe: Will Using Console.Beep(); Too Much Damage Your Computer? Pin
Christian Graus9-Jun-08 17:16
protectorChristian Graus9-Jun-08 17:16 
JokeRe: Will Using Console.Beep(); Too Much Damage Your Computer? Pin
PIEBALDconsult9-Jun-08 17:26
mvePIEBALDconsult9-Jun-08 17:26 
GeneralRe: Will Using Console.Beep(); Too Much Damage Your Computer? Pin
MarkB7779-Jun-08 17:49
MarkB7779-Jun-08 17:49 
AnswerRe: Will Using Console.Beep(); Too Much Damage Your Computer? Pin
Joe Woodbury9-Jun-08 19:30
professionalJoe Woodbury9-Jun-08 19:30 

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.