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

C#

 
AnswerRe: coding guidelines question Pin
Luc Pattyn28-Jul-07 0:56
sitebuilderLuc Pattyn28-Jul-07 0:56 
Hi,

I do this all the time, but only in specific situations; i.e.
the local variable is declared private, and the property is either
protected or public.

And I do not intend on changing that. How else would you come up with
two different but related names (don't give me the underscore stuff,
such as _myProperty or m_myProperty, I don't like it at all, it lowers
the readability of the code).

Did you add those different qualifiers when trying?
If myProperty and MyProperty both were to have the same access rights
(which is private if you dont specify), then I would agree with FxCop.

Smile | :)




GeneralRe: coding guidelines question Pin
User 665828-Jul-07 2:30
User 665828-Jul-07 2:30 
GeneralRe: coding guidelines question Pin
Luc Pattyn28-Jul-07 2:34
sitebuilderLuc Pattyn28-Jul-07 2:34 
GeneralRe: coding guidelines question Pin
Kevin McFarlane28-Jul-07 3:03
Kevin McFarlane28-Jul-07 3:03 
GeneralRe: coding guidelines question Pin
PhilDanger30-Jul-07 3:07
PhilDanger30-Jul-07 3:07 
GeneralRe: coding guidelines question Pin
Luc Pattyn30-Jul-07 3:27
sitebuilderLuc Pattyn30-Jul-07 3:27 
AnswerRe: coding guidelines question Pin
DavidNohejl28-Jul-07 3:43
DavidNohejl28-Jul-07 3:43 
Questioncrystal reports Pin
monuSaini28-Jul-07 0:20
monuSaini28-Jul-07 0:20 
AnswerRe: crystal reports Pin
Rupesh Kumar Swami28-Jul-07 1:44
Rupesh Kumar Swami28-Jul-07 1:44 
AnswerRe: crystal reports Pin
prasanna muthuramalingam28-Jul-07 3:22
prasanna muthuramalingam28-Jul-07 3:22 
GeneralRe: crystal reports Pin
monuSaini29-Jul-07 20:48
monuSaini29-Jul-07 20:48 
QuestionXML Root tag Pin
M. J. Jaya Chitra27-Jul-07 23:13
M. J. Jaya Chitra27-Jul-07 23:13 
Questiondelete a control containing label and textbox while assigning text at runtime Pin
trulyyy27-Jul-07 22:57
trulyyy27-Jul-07 22:57 
AnswerRe: delete a control containing label and textbox while assigning text at runtime Pin
Martin#30-Jul-07 10:38
Martin#30-Jul-07 10:38 
Questioni have design a controle using following code Pin
cuteAisha27-Jul-07 22:56
cuteAisha27-Jul-07 22:56 
AnswerRe: i have design a controle using following code Pin
Guffa27-Jul-07 23:12
Guffa27-Jul-07 23:12 
GeneralRe: i have design a controle using following code Pin
cuteAisha28-Jul-07 1:39
cuteAisha28-Jul-07 1:39 
AnswerRe: i have design a controle using following code Pin
Luc Pattyn28-Jul-07 2:04
sitebuilderLuc Pattyn28-Jul-07 2:04 
Questionapplication connect to sql data base Pin
prasadbuddhika27-Jul-07 22:43
prasadbuddhika27-Jul-07 22:43 
AnswerRe: application connect to sql data base Pin
Colin Angus Mackay27-Jul-07 23:08
Colin Angus Mackay27-Jul-07 23:08 
QuestionRefreshing a Form Pin
sangramkp27-Jul-07 21:46
sangramkp27-Jul-07 21:46 
AnswerRe: Refreshing a Form Pin
ekynox27-Jul-07 21:49
ekynox27-Jul-07 21:49 
GeneralRe: Refreshing a Form Pin
sangramkp27-Jul-07 21:57
sangramkp27-Jul-07 21:57 
GeneralRe: Refreshing a Form Pin
ekynox27-Jul-07 23:17
ekynox27-Jul-07 23:17 
GeneralRe: Refreshing a Form Pin
sangramkp28-Jul-07 0:03
sangramkp28-Jul-07 0:03 

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.