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

C#

 
QuestionHow to execute some batch file that my FTP server contain ? Pin
Yanshof9-Jun-08 18:46
Yanshof9-Jun-08 18:46 
Questionhow to use the control of DevComponents.DotNetBar.SideBarPanelItem Pin
cqdong809-Jun-08 17:51
cqdong809-Jun-08 17:51 
QuestionDateTime.Now Pin
George_George9-Jun-08 17:32
George_George9-Jun-08 17:32 
AnswerRe: DateTime.Now Pin
Christian Graus9-Jun-08 17:47
protectorChristian Graus9-Jun-08 17:47 
GeneralRe: DateTime.Now Pin
George_George9-Jun-08 18:48
George_George9-Jun-08 18:48 
GeneralRe: DateTime.Now Pin
Christian Graus9-Jun-08 18:57
protectorChristian Graus9-Jun-08 18:57 
GeneralRe: DateTime.Now Pin
George_George9-Jun-08 19:03
George_George9-Jun-08 19:03 
GeneralRe: DateTime.Now Pin
Christian Graus9-Jun-08 19:11
protectorChristian Graus9-Jun-08 19:11 
George_George wrote:
But, since DateTime is a value type, so, there should be an internal copy of current time created by struct DateTime struct itself, and during assignment to variable abc, abc is another copy of "current time", so there are two copies, right?


If DateTime is a value type, then it's going to be copied when it is returned. You're talking about a collection of a handful of ints. I don't see that as a big deal, do you ?

Christian Graus

Please read this if you don't understand the answer I've given you

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

GeneralRe: DateTime.Now Pin
George_George9-Jun-08 19:49
George_George9-Jun-08 19:49 
GeneralRe: DateTime.Now Pin
Ashfield9-Jun-08 21:29
Ashfield9-Jun-08 21:29 
GeneralRe: DateTime.Now Pin
George_George9-Jun-08 22:22
George_George9-Jun-08 22:22 
GeneralRe: DateTime.Now Pin
#realJSOP10-Jun-08 2:56
mve#realJSOP10-Jun-08 2:56 
GeneralRe: DateTime.Now Pin
George_George10-Jun-08 3:00
George_George10-Jun-08 3:00 
AnswerRe: DateTime.Now Pin
PIEBALDconsult9-Jun-08 17:48
mvePIEBALDconsult9-Jun-08 17:48 
GeneralRe: DateTime.Now Pin
George_George9-Jun-08 18:47
George_George9-Jun-08 18:47 
GeneralRe: DateTime.Now Pin
PIEBALDconsult9-Jun-08 19:19
mvePIEBALDconsult9-Jun-08 19:19 
GeneralRe: DateTime.Now Pin
George_George9-Jun-08 19:47
George_George9-Jun-08 19:47 
AnswerRe: DateTime.Now Pin
Joe Woodbury9-Jun-08 19:27
professionalJoe Woodbury9-Jun-08 19:27 
GeneralRe: DateTime.Now Pin
George_George9-Jun-08 19:45
George_George9-Jun-08 19:45 
AnswerRe: DateTime.Now Pin
Guffa9-Jun-08 22:22
Guffa9-Jun-08 22:22 
GeneralRe: DateTime.Now Pin
George_George10-Jun-08 2:08
George_George10-Jun-08 2:08 
GeneralRe: DateTime.Now Pin
Guffa10-Jun-08 11:40
Guffa10-Jun-08 11:40 
GeneralRe: DateTime.Now Pin
George_George11-Jun-08 1:43
George_George11-Jun-08 1:43 
GeneralRe: DateTime.Now Pin
Guffa11-Jun-08 2:28
Guffa11-Jun-08 2:28 
GeneralRe: DateTime.Now Pin
George_George11-Jun-08 16:23
George_George11-Jun-08 16:23 

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.