Click here to Skip to main content
15,923,015 members
Home / Discussions / C#
   

C#

 
QuestionScanner DLL Pin
MozhdehQeraati15-Aug-07 20:23
MozhdehQeraati15-Aug-07 20:23 
AnswerRe: Scanner DLL Pin
Michael Sync15-Aug-07 20:37
Michael Sync15-Aug-07 20:37 
QuestionString and string - difference Pin
shivapriyak15-Aug-07 19:47
shivapriyak15-Aug-07 19:47 
AnswerRe: String and string - difference Pin
Martin#15-Aug-07 19:56
Martin#15-Aug-07 19:56 
GeneralRe: String and string - difference Pin
V.15-Aug-07 21:20
professionalV.15-Aug-07 21:20 
GeneralRe: String and string - difference [modified] Pin
Martin#15-Aug-07 21:25
Martin#15-Aug-07 21:25 
GeneralRe: String and string - difference Pin
V.15-Aug-07 22:00
professionalV.15-Aug-07 22:00 
AnswerRe: String and string - difference Pin
Guffa15-Aug-07 21:50
Guffa15-Aug-07 21:50 
V. wrote:
I believe that string is slightly faster then using String...


If you mean when typing the code, it might be faster to type "string" than "String", as you don't have to press the shift button for the first character. However, you should rather write code that is easy to read than easy to write, so the typing speed is rather irrelevant.

If you mean the time it takes to compile the code, I doubt that you can show a difference that is even possible to measure.

If you mean the execution speed of the compiled program, there is no difference what so ever. As string is just an alias for System.String, the produced code is identical.


---
single minded; short sighted; long gone;

AnswerRe: String and string - difference Pin
Nouman Bhatti15-Aug-07 20:00
Nouman Bhatti15-Aug-07 20:00 
GeneralClickety Pin
Martin#15-Aug-07 20:22
Martin#15-Aug-07 20:22 
Questiontext to Speech n Vice versa Pin
sangramkp15-Aug-07 19:45
sangramkp15-Aug-07 19:45 
AnswerRe: text to Speech n Vice versa Pin
Martin#15-Aug-07 19:59
Martin#15-Aug-07 19:59 
QuestionHow to check the result of division for an integer? Pin
Khoramdin15-Aug-07 17:40
Khoramdin15-Aug-07 17:40 
AnswerRe: How to check the result of division for an integer? Pin
Michael Sync15-Aug-07 17:56
Michael Sync15-Aug-07 17:56 
GeneralRe: How to check the result of division for an integer? Pin
Khoramdin15-Aug-07 18:05
Khoramdin15-Aug-07 18:05 
GeneralRe: How to check the result of division for an integer? Pin
Rocky#15-Aug-07 18:26
Rocky#15-Aug-07 18:26 
AnswerRe: How to check the result of division for an integer? Pin
Khoramdin15-Aug-07 18:33
Khoramdin15-Aug-07 18:33 
GeneralRe: How to check the result of division for an integer? Pin
Rocky#15-Aug-07 18:37
Rocky#15-Aug-07 18:37 
GeneralRe: How to check the result of division for an integer? Pin
Cfer8316-Aug-07 7:09
Cfer8316-Aug-07 7:09 
GeneralRe: How to check the result of division for an integer? Pin
Rocky#16-Aug-07 19:35
Rocky#16-Aug-07 19:35 
GeneralRe: How to check the result of division for an integer? Pin
Christian Graus15-Aug-07 18:50
protectorChristian Graus15-Aug-07 18:50 
GeneralRe: How to check the result of division for an integer? Pin
User 167325215-Aug-07 18:51
User 167325215-Aug-07 18:51 
AnswerRe: How to check the result of division for an integer? Pin
V.15-Aug-07 21:22
professionalV.15-Aug-07 21:22 
QuestionRemote Desktop Sharing Pin
dhami_naresh15-Aug-07 15:48
dhami_naresh15-Aug-07 15:48 
AnswerRe: Remote Desktop Sharing Pin
Michael Sync15-Aug-07 16:46
Michael Sync15-Aug-07 16:46 

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.