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

C#

 
GeneralRe: Question about String.Format("{0}{1}{2}{3}", string1, string2, string3); Pin
saytinh20-Jun-07 18:30
saytinh20-Jun-07 18:30 
GeneralRe: Question about String.Format("{0}{1}{2}{3}", string1, string2, string3); Pin
PIEBALDconsult21-Jun-07 10:55
mvePIEBALDconsult21-Jun-07 10:55 
GeneralRe: Question about String.Format("{0}{1}{2}{3}", string1, string2, string3); Pin
saytinh21-Jun-07 17:07
saytinh21-Jun-07 17:07 
AnswerRe: Question about String.Format("{0}{1}{2}{3}", string1, string2, string3); Pin
Christian Graus20-Jun-07 18:04
protectorChristian Graus20-Jun-07 18:04 
QuestionWhy VS Package can't work without SDK installed? Pin
remex_1980_junyongwu20-Jun-07 17:19
remex_1980_junyongwu20-Jun-07 17:19 
AnswerRe: Why VS Package can't work without SDK installed? Pin
Christian Graus20-Jun-07 18:05
protectorChristian Graus20-Jun-07 18:05 
GeneralRe: Why VS Package can't work without SDK installed? Pin
remex_1980_junyongwu20-Jun-07 21:08
remex_1980_junyongwu20-Jun-07 21:08 
QuestionImplicit/Explicit variable initialization & performance [modified] Pin
AesopTurtle20-Jun-07 15:42
AesopTurtle20-Jun-07 15:42 
Hi,

Are there any difference in performance between these codes:

<br />
MyClass _myClass = new MyClass();<br />
string _myString = "";<br />
_myString = _myClass.GetMyString();


and

<br />
MyClass _myClass = new MyClass();<br />
string _myString = _myClass.GetMyString();


In the first case, the string variable has been explicitly initialized.
While in the second case, it has been implicitly initialized.

Well, I understand that the difference in performance cannot be noticed.
But I'm just curious to learn about it.

Thank you very much.


-- modified at 22:15 Wednesday 20th June, 2007

KiT

Never wait for a chance to come, Believe in your own potential and go get it!

AnswerRe: Implicit/Explicit variable initialization & performance Pin
Christian Graus20-Jun-07 15:47
protectorChristian Graus20-Jun-07 15:47 
GeneralRe: Implicit/Explicit variable initialization & performance Pin
AesopTurtle20-Jun-07 15:51
AesopTurtle20-Jun-07 15:51 
GeneralRe: Implicit/Explicit variable initialization & performance Pin
Christian Graus20-Jun-07 16:26
protectorChristian Graus20-Jun-07 16:26 
GeneralRe: Implicit/Explicit variable initialization & performance Pin
AesopTurtle20-Jun-07 16:29
AesopTurtle20-Jun-07 16:29 
GeneralRe: Implicit/Explicit variable initialization &amp;amp; performance Pin
Luc Pattyn21-Jun-07 0:22
sitebuilderLuc Pattyn21-Jun-07 0:22 
QuestionMultiplying 2 XML nodes and append it in another XML nodes Pin
saymajum20-Jun-07 13:51
saymajum20-Jun-07 13:51 
AnswerRe: Multiplying 2 XML nodes and append it in another XML nodes Pin
Christian Graus20-Jun-07 13:55
protectorChristian Graus20-Jun-07 13:55 
GeneralRe: Multiplying 2 XML nodes and append it in another XML nodes Pin
saymajum20-Jun-07 14:09
saymajum20-Jun-07 14:09 
GeneralRe: Multiplying 2 XML nodes and append it in another XML nodes Pin
Christian Graus20-Jun-07 14:19
protectorChristian Graus20-Jun-07 14:19 
GeneralRe: Multiplying 2 XML nodes and append it in another XML nodes Pin
saymajum20-Jun-07 14:33
saymajum20-Jun-07 14:33 
Questionlooping in Xml nodes in C# Pin
saymajum20-Jun-07 13:39
saymajum20-Jun-07 13:39 
AnswerRe: looping in Xml nodes in C# Pin
Christian Graus20-Jun-07 13:47
protectorChristian Graus20-Jun-07 13:47 
GeneralRe: looping in Xml nodes in C# Pin
saymajum20-Jun-07 13:54
saymajum20-Jun-07 13:54 
GeneralRe: looping in Xml nodes in C# Pin
Christian Graus20-Jun-07 13:56
protectorChristian Graus20-Jun-07 13:56 
GeneralRe: looping in Xml nodes in C# Pin
saymajum20-Jun-07 14:01
saymajum20-Jun-07 14:01 
GeneralRe: looping in Xml nodes in C# Pin
Christian Graus20-Jun-07 14:05
protectorChristian Graus20-Jun-07 14:05 
Questionserial to button Pin
dirtylarry20-Jun-07 13:35
dirtylarry20-Jun-07 13:35 

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.