Click here to Skip to main content
15,918,003 members
Home / Discussions / C#
   

C#

 
AnswerRe: Email notification Pin
Paul Conrad16-Aug-08 8:46
professionalPaul Conrad16-Aug-08 8:46 
QuestionWhich one is faster ? Pin
Mohammad Dayyan16-Aug-08 2:32
Mohammad Dayyan16-Aug-08 2:32 
AnswerRe: Which one is faster ? Pin
Manas Bhardwaj16-Aug-08 2:56
professionalManas Bhardwaj16-Aug-08 2:56 
GeneralRe: Which one is faster ? Pin
Mohammad Dayyan16-Aug-08 3:03
Mohammad Dayyan16-Aug-08 3:03 
GeneralRe: Which one is faster ? Pin
Manas Bhardwaj16-Aug-08 3:15
professionalManas Bhardwaj16-Aug-08 3:15 
GeneralRe: Which one is faster ? Pin
Mohammad Dayyan16-Aug-08 3:43
Mohammad Dayyan16-Aug-08 3:43 
JokeRe: Which one is faster ? Pin
Mycroft Holmes17-Aug-08 1:21
professionalMycroft Holmes17-Aug-08 1:21 
AnswerRe: Which one is faster ? Pin
Guffa16-Aug-08 5:41
Guffa16-Aug-08 5:41 
Mohammad Dayyan wrote:
I saw somewhere that obj1.Equals(obj2) is faster than obj1==obj2


First of all, that depends on the type of the objects. That will decide which operator or method will be used.

If there is a difference in performance, it's because they don't do the same thing. You should find out which one that does what you want, because it's totally irrelevant if the method is fast if it doesn't do what you need it to do. That's like saying that "you should use addition instead of division, because it's faster".

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Which one is faster ? Pin
Mohammad Dayyan16-Aug-08 9:45
Mohammad Dayyan16-Aug-08 9:45 
AnswerRe: Which one is faster ? Pin
Guffa16-Aug-08 11:01
Guffa16-Aug-08 11:01 
AnswerRe: Which one is faster ? Pin
DaveyM6916-Aug-08 6:21
professionalDaveyM6916-Aug-08 6:21 
QuestionDynamic button + dynamic event handler Pin
pkruger15-Aug-08 23:27
pkruger15-Aug-08 23:27 
AnswerRe: Dynamic button + dynamic event handler Pin
N a v a n e e t h15-Aug-08 23:31
N a v a n e e t h15-Aug-08 23:31 
GeneralRe: Dynamic button + dynamic event handler Pin
pkruger15-Aug-08 23:39
pkruger15-Aug-08 23:39 
GeneralRe: Dynamic button + dynamic event handler Pin
Christian Graus16-Aug-08 0:09
protectorChristian Graus16-Aug-08 0:09 
AnswerRe: Dynamic button + dynamic event handler Pin
DaveyM6915-Aug-08 23:38
professionalDaveyM6915-Aug-08 23:38 
QuestionUsing files Pin
Christian Flutcher15-Aug-08 22:52
Christian Flutcher15-Aug-08 22:52 
AnswerRe: Using files Pin
Giorgi Dalakishvili15-Aug-08 23:03
mentorGiorgi Dalakishvili15-Aug-08 23:03 
GeneralRe: Using files Pin
Christian Flutcher15-Aug-08 23:09
Christian Flutcher15-Aug-08 23:09 
GeneralRe: Using files Pin
lisan_al_ghaib15-Aug-08 23:45
lisan_al_ghaib15-Aug-08 23:45 
GeneralRe: Using files Pin
Christian Flutcher16-Aug-08 8:25
Christian Flutcher16-Aug-08 8:25 
GeneralRe: Using files Pin
lisan_al_ghaib16-Aug-08 12:19
lisan_al_ghaib16-Aug-08 12:19 
AnswerRe: Using files Pin
DaveyM6915-Aug-08 23:43
professionalDaveyM6915-Aug-08 23:43 
QuestionCreate or Open Excel document Pin
dsamvelyan15-Aug-08 22:47
dsamvelyan15-Aug-08 22:47 
AnswerRe: Create or Open Excel document Pin
dan!sh 15-Aug-08 23:03
professional dan!sh 15-Aug-08 23:03 

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.