Click here to Skip to main content
15,886,963 members
Home / Discussions / C#
   

C#

 
GeneralRe: pass an array from C# to a COM object Pin
Oleksandr Kucherenko15-Nov-02 3:21
Oleksandr Kucherenko15-Nov-02 3:21 
Questionusing "this"? Pin
zhoujun14-Nov-02 19:08
zhoujun14-Nov-02 19:08 
AnswerRe: using "this"? Pin
Christian Graus14-Nov-02 19:37
protectorChristian Graus14-Nov-02 19:37 
GeneralRe: using "this"? Pin
Kevin McFarlane15-Nov-02 2:17
Kevin McFarlane15-Nov-02 2:17 
GeneralRe: using "this"? Pin
MStanbrook15-Nov-02 4:40
MStanbrook15-Nov-02 4:40 
GeneralRe: using "this"? Pin
Michael Dunn16-Nov-02 5:29
sitebuilderMichael Dunn16-Nov-02 5:29 
AnswerRe: using "this"? Pin
Philip Fitzsimons15-Nov-02 10:55
Philip Fitzsimons15-Nov-02 10:55 
AnswerRe: using "this"? Pin
LongRange.Shooter18-Nov-02 8:54
LongRange.Shooter18-Nov-02 8:54 
I, too, am still learning about all of this stuff. So I probably know only enough to get myself in trouble. Poke tongue | ;-P

This is what I know so far about this

If you have multiple threads of an object, I believe that this will differentiate between current thread and some other thread. (or maybe the parent thread(???))

In all of the web examples I've seen there is a heavy use of this for accessing the form fields.

In inherited classes, this also identifies you are refering to a property/method within THIS class vs. the BASE class. (even though you cannot access base methods WITHOUT the base qualifier!)

With the exception of those two reasons, this just makes it easy to pull up an intellisense box while coding.

_____________________________________________
The world is a dangerous place.
Not because of those that do evil,
    but because of those who look on and do nothing.

GeneralNeed a function that will return certain system information into a text box Pin
Derek Smigelski14-Nov-02 13:20
Derek Smigelski14-Nov-02 13:20 
GeneralRe: Need a function that will return certain system information into a text box Pin
Chris Austin14-Nov-02 17:37
Chris Austin14-Nov-02 17:37 
GeneralRe: Need a function that will return certain system information into a text box Pin
Chris Austin14-Nov-02 18:26
Chris Austin14-Nov-02 18:26 
GeneralMoving VB's FileSystemObject to C# Pin
Eric Miller Jr.14-Nov-02 10:54
sussEric Miller Jr.14-Nov-02 10:54 
GeneralRe: Moving VB's FileSystemObject to C# Pin
Steven Lyons14-Nov-02 15:07
Steven Lyons14-Nov-02 15:07 
GeneralRe: Just hints! Pin
Masaaki Onishi14-Nov-02 17:46
Masaaki Onishi14-Nov-02 17:46 
GeneralRe: Moving VB's FileSystemObject to C# Pin
Richard Deeming15-Nov-02 0:09
mveRichard Deeming15-Nov-02 0:09 
GeneralRe: Moving VB's FileSystemObject to C# Pin
joan_fl15-Nov-02 9:06
joan_fl15-Nov-02 9:06 
GeneralRe: Moving VB's FileSystemObject to C# Pin
Eric Miller Jr.15-Nov-02 10:46
sussEric Miller Jr.15-Nov-02 10:46 
QuestionScroll a window? Pin
Bog14-Nov-02 9:33
Bog14-Nov-02 9:33 
AnswerRe: Scroll a window? Pin
leppie14-Nov-02 10:53
leppie14-Nov-02 10:53 
AnswerRe: Scroll a window? Pin
leppie14-Nov-02 10:57
leppie14-Nov-02 10:57 
GeneralThanks very much nt Pin
Bog14-Nov-02 12:21
Bog14-Nov-02 12:21 
GeneralFile type association Pin
Le centriste14-Nov-02 9:18
Le centriste14-Nov-02 9:18 
GeneralRe: File type association Pin
Kannan Kalyanaraman14-Nov-02 23:35
Kannan Kalyanaraman14-Nov-02 23:35 
GeneralRe: File type association Pin
Andrew Connell15-Nov-02 5:33
Andrew Connell15-Nov-02 5:33 
Questionscreen pixels per inch? Pin
Marc Clifton14-Nov-02 8:50
mvaMarc Clifton14-Nov-02 8:50 

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.