Performance and nitty gritty things like this.member v member

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
 
M

Martin Dechev

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

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top