![]() |
|
|
#41 |
|
Guest
Posts: n/a
|
Re: Assigning a reference to a variable
Hi Jon,
Have you reviewed all the replies to you? Do they make sense to you? If you still need any help, please feel free to feedback, thanks. Best regards, Jeffrey Tan Microsoft Online Community Support |
|
|
|
#42 |
|
Guest
Posts: n/a
|
Re: Assigning a reference to a variable
Hi Jon,
Have you reviewed all the replies to you? Do they make sense to you? If you still need any help, please feel free to feedback, thanks. Best regards, Jeffrey Tan Microsoft Online Community Support |
|
|
|
#43 |
|
Guest
Posts: n/a
|
Re: Assigning a reference to a variable
Hi Jon,
Have you reviewed all the replies to you? Do they make sense to you? If you still need any help, please feel free to feedback, thanks. Best regards, Jeffrey Tan Microsoft Online Community Support |
|
|
|
#44 |
|
Guest
Posts: n/a
|
Re: Assigning a reference to a variable
"Jon" <.> wrote in message news:Od5kKrZPIHA.4752@TK2MSFTNGP05.phx.gbl... > Thanks once again for the replies and advice. I been doing some > non-software work for two weeks, and > am now returning to the problem. > > I've decided to restructure things and to send the value within the > struct to a function > > if(???) func(ref set.left, ...); > else if(???) func(ref set.right, ...); > else func(ref set.centre, ...); > I know that you received solid advice that makes for a cleaner design, for instance, using classes and delegates. Why do you persist in this approach. If your brain still thinks in C instead of C#, it's time to get a new brain. |
|
|
|
#45 |
|
Guest
Posts: n/a
|
Re: Assigning a reference to a variable
"Jon" <.> wrote in message news:Od5kKrZPIHA.4752@TK2MSFTNGP05.phx.gbl... > Thanks once again for the replies and advice. I been doing some > non-software work for two weeks, and > am now returning to the problem. > > I've decided to restructure things and to send the value within the > struct to a function > > if(???) func(ref set.left, ...); > else if(???) func(ref set.right, ...); > else func(ref set.centre, ...); > I know that you received solid advice that makes for a cleaner design, for instance, using classes and delegates. Why do you persist in this approach. If your brain still thinks in C instead of C#, it's time to get a new brain. |
|
|
|
#46 |
|
Guest
Posts: n/a
|
Re: Assigning a reference to a variable
"Jon" <.> wrote in message news:Od5kKrZPIHA.4752@TK2MSFTNGP05.phx.gbl... > Thanks once again for the replies and advice. I been doing some > non-software work for two weeks, and > am now returning to the problem. > > I've decided to restructure things and to send the value within the > struct to a function > > if(???) func(ref set.left, ...); > else if(???) func(ref set.right, ...); > else func(ref set.centre, ...); > I know that you received solid advice that makes for a cleaner design, for instance, using classes and delegates. Why do you persist in this approach. If your brain still thinks in C instead of C#, it's time to get a new brain. |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
| New To Site? | Need Help? |