Click here to Skip to main content
15,894,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Methods, Parameters, Arguments… Oh my! Pin
N8tiv12-May-13 21:40
N8tiv12-May-13 21:40 
GeneralRe: Methods, Parameters, Arguments… Oh my! Pin
Richard MacCutchan12-May-13 23:16
mveRichard MacCutchan12-May-13 23:16 
GeneralRe: Methods, Parameters, Arguments… Oh my! Pin
N8tiv13-May-13 2:21
N8tiv13-May-13 2:21 
GeneralRe: Methods, Parameters, Arguments… Oh my! Pin
Keith Barrow12-May-13 23:38
professionalKeith Barrow12-May-13 23:38 
GeneralRe: Methods, Parameters, Arguments… Oh my! Pin
Richard MacCutchan12-May-13 23:56
mveRichard MacCutchan12-May-13 23:56 
GeneralRe: Methods, Parameters, Arguments… Oh my! Pin
Pete O'Hanlon13-May-13 0:36
mvePete O'Hanlon13-May-13 0:36 
GeneralRe: Methods, Parameters, Arguments… Oh my! Pin
Richard MacCutchan13-May-13 0:38
mveRichard MacCutchan13-May-13 0:38 
QuestionJust a simple question Pin
Jesús Frías12-May-13 6:13
Jesús Frías12-May-13 6:13 
AnswerRe: Just a simple question Pin
Abhinav S12-May-13 6:19
Abhinav S12-May-13 6:19 
QuestionRE: Custom Login to a secure Page on an external site. Pin
khali7811-May-13 19:29
khali7811-May-13 19:29 
AnswerRe: RE: Custom Login to a secure Page on an external site. Pin
Richard MacCutchan11-May-13 21:26
mveRichard MacCutchan11-May-13 21:26 
Questionsockets + Cryptography Pin
Member 997361610-May-13 14:07
Member 997361610-May-13 14:07 
SuggestionRe: sockets + Cryptography Pin
AlphaDeltaTheta10-May-13 15:35
AlphaDeltaTheta10-May-13 15:35 
GeneralRe: sockets + Cryptography Pin
Member 997361610-May-13 22:50
Member 997361610-May-13 22:50 
GeneralRe: sockets + Cryptography Pin
AlphaDeltaTheta11-May-13 16:38
AlphaDeltaTheta11-May-13 16:38 
Questionwhats the best practice to save service data? Pin
neodeaths10-May-13 9:18
neodeaths10-May-13 9:18 
AnswerRe: whats the best practice to save service data? Pin
Dave Kreskowiak10-May-13 10:49
mveDave Kreskowiak10-May-13 10:49 
AnswerRe: whats the best practice to save service data? Pin
Eddy Vluggen11-May-13 3:30
professionalEddy Vluggen11-May-13 3:30 
QuestionProperties vs Methods Opinions sought Pin
Keith Barrow10-May-13 4:22
professionalKeith Barrow10-May-13 4:22 
SuggestionRe: Properties vs Methods Opinions sought Pin
Richard Deeming10-May-13 5:16
mveRichard Deeming10-May-13 5:16 
GeneralRe: Properties vs Methods Opinions sought Pin
Keith Barrow10-May-13 5:37
professionalKeith Barrow10-May-13 5:37 
GeneralRe: Properties vs Methods Opinions sought Pin
jschell10-May-13 7:58
jschell10-May-13 7:58 
AnswerRe: Properties vs Methods Opinions sought Pin
jschell10-May-13 7:50
jschell10-May-13 7:50 
Keith Barrow wrote:
The reviewer thinks that there shouldn't be any processing in a property,


As stated that of course is nonsense. The ENTIRE point of properties is to allow processing in the property.

Now perhaps they just had an issue with this particular class.

That said and for the specific case then because the two values are nonsensical unless handled as a unit then one method would be my preference. However I might also create a data object that holds only those two entities as well since they are tied together.
GeneralRe: Properties vs Methods Opinions sought Pin
Ennis Ray Lynch, Jr.10-May-13 8:41
Ennis Ray Lynch, Jr.10-May-13 8:41 
GeneralRe: Properties vs Methods Opinions sought Pin
jschell13-May-13 7:58
jschell13-May-13 7:58 

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.