Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
AnswerRe: Converting Array To Dictionary Pin
Luc Pattyn17-Mar-16 7:41
sitebuilderLuc Pattyn17-Mar-16 7:41 
QuestionMessage Removed Pin
16-Mar-16 5:35
professionalN_tro_P16-Mar-16 5:35 
AnswerRe: Field Naming Pin
OriginalGriff16-Mar-16 5:55
mveOriginalGriff16-Mar-16 5:55 
GeneralRe: Field Naming Pin
Pete O'Hanlon16-Mar-16 6:36
mvePete O'Hanlon16-Mar-16 6:36 
GeneralRe: Field Naming Pin
OriginalGriff16-Mar-16 6:41
mveOriginalGriff16-Mar-16 6:41 
GeneralMessage Removed Pin
16-Mar-16 7:52
professionalN_tro_P16-Mar-16 7:52 
GeneralRe: Field Naming Pin
jsc4217-Mar-16 23:06
professionaljsc4217-Mar-16 23:06 
GeneralRe: Field Naming Pin
OriginalGriff16-Mar-16 6:47
mveOriginalGriff16-Mar-16 6:47 
And if you refactor a field starting with "_" in VS it automatically removes the underscore:
C#
private int _MyProperty;
public int MyProperty
    {
    get { return _MyProperty; }
    set { _MyProperty = value; }
    }

If you don't start with an underscore you get Yeuch!
C#
private int MyProperty;
public int MyProperty1
    {
    get { return MyProperty; }
    set { MyProperty = value; }
    }

So I guess that MS's right hand isn't talking to it's left hand again... Laugh | :laugh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

AnswerRe: Field Naming Pin
Gerry Schmitz16-Mar-16 6:45
mveGerry Schmitz16-Mar-16 6:45 
GeneralMessage Removed Pin
16-Mar-16 8:13
professionalN_tro_P16-Mar-16 8:13 
GeneralRe: Field Naming Pin
Gerry Schmitz16-Mar-16 9:08
mveGerry Schmitz16-Mar-16 9:08 
AnswerRe: Field Naming Pin
Sascha Lefèvre16-Mar-16 7:49
professionalSascha Lefèvre16-Mar-16 7:49 
GeneralMessage Removed Pin
16-Mar-16 8:04
professionalN_tro_P16-Mar-16 8:04 
GeneralRe: Field Naming Pin
Sascha Lefèvre16-Mar-16 8:44
professionalSascha Lefèvre16-Mar-16 8:44 
GeneralMessage Removed Pin
16-Mar-16 8:47
professionalN_tro_P16-Mar-16 8:47 
GeneralRe: Field Naming Pin
Sascha Lefèvre16-Mar-16 8:54
professionalSascha Lefèvre16-Mar-16 8:54 
GeneralMessage Removed Pin
17-Mar-16 3:34
professionalN_tro_P17-Mar-16 3:34 
GeneralRe: Field Naming Pin
OriginalGriff16-Mar-16 9:15
mveOriginalGriff16-Mar-16 9:15 
QuestionLooking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 2:43
professionalSascha Lefèvre16-Mar-16 2:43 
AnswerRe: Looking for a .Net Named-Lock-Manager Pin
Gerry Schmitz16-Mar-16 5:02
mveGerry Schmitz16-Mar-16 5:02 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 5:31
professionalSascha Lefèvre16-Mar-16 5:31 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Gerry Schmitz16-Mar-16 5:54
mveGerry Schmitz16-Mar-16 5:54 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 7:54
professionalSascha Lefèvre16-Mar-16 7:54 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Gerry Schmitz16-Mar-16 8:31
mveGerry Schmitz16-Mar-16 8:31 
GeneralRe: Looking for a .Net Named-Lock-Manager Pin
Sascha Lefèvre16-Mar-16 9:12
professionalSascha Lefèvre16-Mar-16 9:12 

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.