Click here to Skip to main content
16,014,589 members
Home / Discussions / C#
   

C#

 
QuestionDHTML control in windows.forms? Pin
9-Mar-02 14:59
suss9-Mar-02 14:59 
AnswerRe: DHTML control in windows.forms? Pin
James T. Johnson9-Mar-02 20:28
James T. Johnson9-Mar-02 20:28 
GeneralRe: DHTML control in windows.forms? Pin
13-Mar-02 2:04
suss13-Mar-02 2:04 
Questionwhen will the JIT run? Pin
9-Mar-02 0:18
suss9-Mar-02 0:18 
AnswerRe: when will the JIT run? Pin
James T. Johnson9-Mar-02 13:24
James T. Johnson9-Mar-02 13:24 
GeneralRe: when will the JIT run? Pin
9-Mar-02 15:02
suss9-Mar-02 15:02 
GeneralC# properties Pin
8-Mar-02 12:27
suss8-Mar-02 12:27 
GeneralRe: C# properties Pin
Anand Amirineni8-Mar-02 13:22
Anand Amirineni8-Mar-02 13:22 
I think ONE. ( may be this approach can help us)

As we know , this the way of accessing member variables( state of the class) through methods(get,set) without breaking the client code.

Often memeber variables (State) need to be computed.(ex: get and set to/from DB),then this way of accessing will be useful.

I think this the trade-off.(If we really wasting space)

Check your MSIL using ILDASM.exe( NET FWk/SDK/ bin).
in your example, NAME is property and name is member variable.

Next,

value is implicit parameter for "set" method

CLR reads your program as

set(value)
{
membervariable = value;
}

Thanks,
Anand.
GeneralRe: C# properties Pin
Sito Dekker9-Mar-02 0:34
Sito Dekker9-Mar-02 0:34 
GeneralFTP Upload and Download Pin
BLaZiNiX8-Mar-02 8:57
BLaZiNiX8-Mar-02 8:57 
GeneralRe: FTP Upload and Download Pin
Schnemar9-Mar-02 1:32
Schnemar9-Mar-02 1:32 
GeneralIntercept up and down arrow keys in datagrid Pin
kyledunn8-Mar-02 7:01
kyledunn8-Mar-02 7:01 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
James T. Johnson9-Mar-02 13:28
James T. Johnson9-Mar-02 13:28 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
9-Mar-02 15:37
suss9-Mar-02 15:37 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
James T. Johnson9-Mar-02 21:06
James T. Johnson9-Mar-02 21:06 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
kyledunn10-Mar-02 9:44
kyledunn10-Mar-02 9:44 
GeneralRe: Intercept up and down arrow keys in datagrid Pin
James T. Johnson10-Mar-02 10:05
James T. Johnson10-Mar-02 10:05 
Generaltextbox and button Pin
Mazdak8-Mar-02 3:44
Mazdak8-Mar-02 3:44 
GeneralRe: textbox and button Pin
Schnemar8-Mar-02 4:07
Schnemar8-Mar-02 4:07 
GeneralRe: textbox and button Pin
Mazdak8-Mar-02 4:30
Mazdak8-Mar-02 4:30 
GeneralRe: textbox and button Pin
Mazdak8-Mar-02 8:00
Mazdak8-Mar-02 8:00 
GeneralRe: textbox and button Pin
Schnemar8-Mar-02 12:06
Schnemar8-Mar-02 12:06 
GeneralRe: textbox and button Pin
AndyG8-Mar-02 12:20
AndyG8-Mar-02 12:20 
GeneralRe: textbox and button Pin
Mazdak8-Mar-02 19:08
Mazdak8-Mar-02 19:08 
GeneralUsing Activator.CreateInstance() Pin
Michael Groeger7-Mar-02 22:57
Michael Groeger7-Mar-02 22: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.