Re: Recommendations on using the "this" keywords?
From: Peter Morris (pete_at_removethisbit.droopyeyes.com)
Date: 08/14/04
- Next message: The Last Danish Pastry: "QueryPerformanceCounter speed up"
- Previous message: Hemraj Julha: "Re: Inheriting a Form within the same project"
- In reply to: Anders Borum: "Recommendations on using the "this" keywords?"
- Next in thread: Mark Marsella: "Re: Recommendations on using the "this" keywords?"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 14 Aug 2004 13:22:28 +0100
I use it only when there is a possible conflict, e.g.
public void DoSomethingToPage(Page page)
{
//blah blah blah
this.page = page;
}
The form designers probably write this.everything to avoid this sort of
thing without having to parse the code in order to do it.
-- Pete ==== Audio compression components, DIB graphics controls, FastStrings http://www.droopyeyes.com Read or write articles on just about anything http://www.HowToDoThings.com
- Next message: The Last Danish Pastry: "QueryPerformanceCounter speed up"
- Previous message: Hemraj Julha: "Re: Inheriting a Form within the same project"
- In reply to: Anders Borum: "Recommendations on using the "this" keywords?"
- Next in thread: Mark Marsella: "Re: Recommendations on using the "this" keywords?"
- Messages sorted by: [ date ] [ thread ]