Click here to Skip to main content
15,913,243 members
Home / Discussions / C#
   

C#

 
Questionword search puzzle Pin
choti74-Dec-09 22:58
choti74-Dec-09 22:58 
AnswerRe: word search puzzle [modified] Pin
DaveyM695-Dec-09 0:17
professionalDaveyM695-Dec-09 0:17 
QuestionSending packet to a specified IP address & predefined the contents of it... Pin
3bood.ghzawi4-Dec-09 22:07
3bood.ghzawi4-Dec-09 22:07 
AnswerMessage Closed Pin
4-Dec-09 22:46
stancrm4-Dec-09 22:46 
GeneralRe: Sending packet to a specified IP address & predefined the contents of it... Pin
3bood.ghzawi5-Dec-09 2:51
3bood.ghzawi5-Dec-09 2:51 
QuestionA Question About Class Properties Pin
Roger Wright4-Dec-09 17:15
professionalRoger Wright4-Dec-09 17:15 
AnswerRe: A Question About Class Properties Pin
PIEBALDconsult4-Dec-09 17:44
mvePIEBALDconsult4-Dec-09 17:44 
GeneralRe: A Question About Class Properties Pin
Roger Wright4-Dec-09 18:02
professionalRoger Wright4-Dec-09 18:02 
PIEBALDconsult wrote:
you could make it an automatic property instead:


Hot damn! Big Grin | :-D I haven't seen that notation anywhere. That saves a bunch of typing! But, given my example, how does this construct "know" to associate the public MyProperty with the private myProperty? Most of my data members are textboxes, with the pairing txtProperty.Text <=> Property.

PIEBALDconsult wrote:
some times you need to do more work in a Property


So I can use the property accessor to do validation? Cool!

I guess, too, that there might be times when many of a class's data members contain internal states that should not be tampered with during the object's lifetime. That would necessitate some means of shielding the data, perhaps in the case of modelling a state machine or some such object far beyond my current skill level.

Thanks a bunch! Big Grin | :-D

"A Journey of a Thousand Rest Stops Begins with a Single Movement"

GeneralRe: A Question About Class Properties Pin
DaveyM694-Dec-09 21:06
professionalDaveyM694-Dec-09 21:06 
GeneralRe: A Question About Class Properties Pin
Roger Wright5-Dec-09 2:59
professionalRoger Wright5-Dec-09 2:59 
GeneralRe: A Question About Class Properties Pin
PIEBALDconsult5-Dec-09 4:17
mvePIEBALDconsult5-Dec-09 4:17 
AnswerRe: A Question About Class Properties Pin
Richard Blythe4-Dec-09 18:08
Richard Blythe4-Dec-09 18:08 
GeneralRe: A Question About Class Properties Pin
Roger Wright4-Dec-09 18:24
professionalRoger Wright4-Dec-09 18:24 
GeneralRe: A Question About Class Properties Pin
Richard Blythe4-Dec-09 18:39
Richard Blythe4-Dec-09 18:39 
GeneralRe: A Question About Class Properties Pin
Roger Wright4-Dec-09 18:58
professionalRoger Wright4-Dec-09 18:58 
AnswerRe: A Question About Class Properties Pin
Luc Pattyn5-Dec-09 3:06
sitebuilderLuc Pattyn5-Dec-09 3:06 
QuestionReading x64 registry keys from a x86 computer remotely Pin
Jacob Dixon4-Dec-09 14:53
Jacob Dixon4-Dec-09 14:53 
AnswerRe: Reading x64 registry keys from a x86 computer remotely Pin
Dave Kreskowiak4-Dec-09 17:05
mveDave Kreskowiak4-Dec-09 17:05 
GeneralRe: Reading x64 registry keys from a x86 computer remotely Pin
Jacob Dixon4-Dec-09 18:13
Jacob Dixon4-Dec-09 18:13 
GeneralRe: Reading x64 registry keys from a x86 computer remotely Pin
Dave Kreskowiak5-Dec-09 3:41
mveDave Kreskowiak5-Dec-09 3:41 
GeneralRe: Reading x64 registry keys from a x86 computer remotely Pin
Jacob Dixon5-Dec-09 4:04
Jacob Dixon5-Dec-09 4:04 
QuestionActivating a child form Pin
electriac4-Dec-09 13:20
electriac4-Dec-09 13:20 
AnswerRe: Activating a child form Pin
Luc Pattyn4-Dec-09 13:27
sitebuilderLuc Pattyn4-Dec-09 13:27 
GeneralRe: Activating a child form Pin
electriac4-Dec-09 15:06
electriac4-Dec-09 15:06 
GeneralRe: Activating a child form Pin
Luc Pattyn4-Dec-09 15:45
sitebuilderLuc Pattyn4-Dec-09 15:45 

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.