C
Champika Nirosh
Hi All,
I just wonder the differences between fallowings
if (myValue > 0)
{
DoThis();
}
&
if (myValue>0)
DoThis();
____________________________________
AND
____________________________________
If I call a variable with the "this" reference and if I call the same
variable without the "this" reference
i.e.
this.MyVariable
&
MyVariable
What are the advantages and disadvantages, if there are any...?
How it effect on the performance?
Thanks All
Nirosh.
I just wonder the differences between fallowings
if (myValue > 0)
{
DoThis();
}
&
if (myValue>0)
DoThis();
____________________________________
AND
____________________________________
If I call a variable with the "this" reference and if I call the same
variable without the "this" reference
i.e.
this.MyVariable
&
MyVariable
What are the advantages and disadvantages, if there are any...?
How it effect on the performance?
Thanks All
Nirosh.