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

C#

 
GeneralRe: Can u help? I need to save data from label to file on hard drive Pin
XRaheemX11-Oct-05 11:06
XRaheemX11-Oct-05 11:06 
GeneralRe: Can u help? I need to save data from label to file on hard drive Pin
evrastil11-Oct-05 22:02
evrastil11-Oct-05 22:02 
GeneralRe: Can u help? I need to save data from label to file on hard drive Pin
XRaheemX12-Oct-05 3:22
XRaheemX12-Oct-05 3:22 
QuestionProperties in structures Pin
chettu11-Oct-05 6:14
chettu11-Oct-05 6:14 
AnswerRe: Properties in structures Pin
XRaheemX11-Oct-05 7:12
XRaheemX11-Oct-05 7:12 
GeneralRe: Properties in structures Pin
David Stone11-Oct-05 7:20
sitebuilderDavid Stone11-Oct-05 7:20 
GeneralRe: Properties in structures Pin
XRaheemX11-Oct-05 7:24
XRaheemX11-Oct-05 7:24 
GeneralRe: Properties in structures Pin
David Stone11-Oct-05 7:29
sitebuilderDavid Stone11-Oct-05 7:29 
Right. And that's how I answered him. Wink | ;)

I can see the logic behind the compiler not looking through the property to see that the field gets initialized. For instance, what if your property setter utilized another field in the struct that hadn't been initialized yet? If you just make it a hard and fast rule of structs that they must have all their fields initialized before you use any of them, then it simplifies the work that the compiler has to do.

There's always reference types. Wink | ;)


Picture a huge catholic cathedral. In it there's many people, including a gregorian monk choir. You know, those who sing beautifully. Then they start singing, in latin, as they always do: "Ad hominem..."
-Jörgen Sigvardsson

GeneralRe: Properties in structures Pin
XRaheemX11-Oct-05 7:29
XRaheemX11-Oct-05 7:29 
AnswerRe: Properties in structures Pin
David Stone11-Oct-05 7:19
sitebuilderDavid Stone11-Oct-05 7:19 
QuestionSetting Value for the new row in a DataGrid Pin
miah alom11-Oct-05 5:56
miah alom11-Oct-05 5:56 
AnswerRe: Setting Value for the new row in a DataGrid Pin
miah alom11-Oct-05 6:01
miah alom11-Oct-05 6:01 
Questiondashed lines -- way to get equal length dashes? Pin
...---...11-Oct-05 4:31
...---...11-Oct-05 4:31 
AnswerRe: dashed lines -- way to get equal length dashes? Pin
XRaheemX11-Oct-05 4:59
XRaheemX11-Oct-05 4:59 
GeneralRe: dashed lines -- way to get equal length dashes? Pin
...---...11-Oct-05 8:37
...---...11-Oct-05 8:37 
QuestionDateTimePicker and Regional Setting Pin
AesopTurtle11-Oct-05 4:24
AesopTurtle11-Oct-05 4:24 
AnswerRe: DateTimePicker and Regional Setting Pin
XRaheemX11-Oct-05 4:53
XRaheemX11-Oct-05 4:53 
GeneralRe: DateTimePicker and Regional Setting Pin
AesopTurtle11-Oct-05 15:28
AesopTurtle11-Oct-05 15:28 
GeneralRe: DateTimePicker and Regional Setting Pin
XRaheemX12-Oct-05 3:12
XRaheemX12-Oct-05 3:12 
QuestionHow to scroll an image? Pin
E6AD11-Oct-05 4:12
E6AD11-Oct-05 4:12 
AnswerRe: How to scroll an image? Pin
ediazc11-Oct-05 4:28
ediazc11-Oct-05 4:28 
QuestionDisaplying different panels from options in a dropdown list Pin
AdamskiR11-Oct-05 4:04
AdamskiR11-Oct-05 4:04 
AnswerRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX11-Oct-05 4:51
XRaheemX11-Oct-05 4:51 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
AdamskiR11-Oct-05 5:07
AdamskiR11-Oct-05 5:07 
GeneralRe: Disaplying different panels from options in a dropdown list Pin
XRaheemX11-Oct-05 5:21
XRaheemX11-Oct-05 5:21 

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.