Performance and nitty gritty things like this.member v member

  • Thread starter Thread starter foldface
  • Start date Start date
F

foldface

Hi
Is there any difference between using this.member and member performancewise.
I'm sure I could find out if I could read the decompiled stuff but I
can't yet.
In general is there any info out there on what you might call the hidden
performance hits, equivilent to "Inside the C++ Object Model" for c#/asp.net

Ta
F
 
Hi,

There is absolutely no difference in the generated IL code. For this
particular case the only difference it makes is regarding the readability of
your code. So, it's up to you - I mean, how you like your code more: with or
without "this.".

Greetings
Martin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top