Click here to Skip to main content
15,911,762 members
Home / Discussions / C#
   

C#

 
GeneralSpell checker Pin
Smitha Nishant8-Apr-03 0:52
protectorSmitha Nishant8-Apr-03 0:52 
GeneralRe: Spell checker Pin
leppie17-Apr-03 7:14
leppie17-Apr-03 7:14 
GeneralWindows XP Socket problem Pin
Mertli Ozgur Nevres7-Apr-03 22:34
Mertli Ozgur Nevres7-Apr-03 22:34 
GeneralRe: Windows XP Socket problem Pin
neroknights8-Apr-03 4:07
neroknights8-Apr-03 4:07 
GeneralRe: Windows XP Socket problem Pin
Mertli Ozgur Nevres8-Apr-03 7:05
Mertli Ozgur Nevres8-Apr-03 7:05 
GeneralCustom Control at Design Time Pin
Itanium7-Apr-03 20:29
Itanium7-Apr-03 20:29 
GeneralRe: Custom Control at Design Time Pin
Don_s10-Apr-03 4:26
Don_s10-Apr-03 4:26 
Questionhow can i add a user in active directory? Pin
wangzhibin7-Apr-03 16:49
wangzhibin7-Apr-03 16:49 
AnswerRe: how can i add a user in active directory? Pin
Manish K. Agarwal7-Apr-03 20:01
Manish K. Agarwal7-Apr-03 20:01 
GeneralA couple of problems... Pin
Chris Ormerod7-Apr-03 13:55
Chris Ormerod7-Apr-03 13:55 
GeneralDll Import - GET_X_LPARAM Pin
Gogou7-Apr-03 11:20
Gogou7-Apr-03 11:20 
GeneralRe: Dll Import - GET_X_LPARAM Pin
codepunk7-Apr-03 11:34
codepunk7-Apr-03 11:34 
GeneralRe: Dll Import - GET_X_LPARAM Pin
Alexander Kojevnikov7-Apr-03 22:49
Alexander Kojevnikov7-Apr-03 22:49 
GeneralUsing "this" Pin
kensai7-Apr-03 11:02
kensai7-Apr-03 11:02 
GeneralRe: Using "this" Pin
J. Dunlap7-Apr-03 11:13
J. Dunlap7-Apr-03 11:13 
GeneralRe: Using "this" Pin
David Stone7-Apr-03 11:30
sitebuilderDavid Stone7-Apr-03 11:30 
GeneralRe: Using "this" Pin
Nick Seng7-Apr-03 17:25
Nick Seng7-Apr-03 17:25 
GeneralRe: Using "this" Pin
J. Dunlap7-Apr-03 18:06
J. Dunlap7-Apr-03 18:06 
GeneralRe: Using "this" Pin
James T. Johnson7-Apr-03 11:18
James T. Johnson7-Apr-03 11:18 
GeneralRe: Using "this" Pin
kensai9-Apr-03 10:19
kensai9-Apr-03 10:19 
GeneralRe: Using "this" Pin
Leon van Wyk10-Apr-03 2:24
professionalLeon van Wyk10-Apr-03 2:24 
Short and Sweet: "this" refers to the class in which you are typing the word "this" in. It just specifies that you are working with THIS class and not any other class the you refernse to, just the one were you are currently coding in....


public class OtherClass
{
string MyVar = "OtherVar";

public OtherClass()
{
}
}

public class MyClass
{
string MyVar = "YourVar";

public MyClass()
{
string OUTCOME = this.MyVar //is anything in MyClass, nowhere else
}
}


the OUTCOME would be "YourVar";


Leon v Wyk
GeneralRemoving the XML heading line in C#. Pin
Segal7-Apr-03 7:20
Segal7-Apr-03 7:20 
GeneralRe: Removing the XML heading line in C#. Pin
Le centriste7-Apr-03 9:23
Le centriste7-Apr-03 9:23 
GeneralRe: Removing the XML heading line in C#. Pin
Heath Stewart7-Apr-03 12:35
protectorHeath Stewart7-Apr-03 12:35 
GeneralMaking an exception class Pin
S O S7-Apr-03 4:57
S O S7-Apr-03 4:57 

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.