Click here to Skip to main content
15,917,635 members
Home / Discussions / C#
   

C#

 
GeneralRe: Time Elapse Pin
Aelmfr16-Mar-16 14:53
Aelmfr16-Mar-16 14:53 
GeneralRe: Time Elapse Pin
Patrice T16-Mar-16 15:08
mvePatrice T16-Mar-16 15:08 
GeneralRe: Time Elapse Pin
Aelmfr16-Mar-16 15:44
Aelmfr16-Mar-16 15:44 
GeneralRe: Time Elapse Pin
Patrice T16-Mar-16 15:58
mvePatrice T16-Mar-16 15:58 
GeneralRe: Time Elapse Pin
Garth J Lancaster16-Mar-16 16:06
professionalGarth J Lancaster16-Mar-16 16:06 
GeneralRe: Time Elapse Pin
Patrice T16-Mar-16 16:11
mvePatrice T16-Mar-16 16:11 
JokeRe: Time Elapse Pin
Richard Deeming17-Mar-16 2:00
mveRichard Deeming17-Mar-16 2:00 
PraiseRe: Time Elapse Pin
Patrice T17-Mar-16 4:32
mvePatrice T17-Mar-16 4:32 
AnswerRe: Time Elapse Pin
V.16-Mar-16 22:15
professionalV.16-Mar-16 22:15 
QuestionConverting Array To Dictionary Pin
MadDashCoder16-Mar-16 11:16
MadDashCoder16-Mar-16 11:16 
AnswerRe: Converting Array To Dictionary Pin
John Torjo16-Mar-16 11:22
professionalJohn Torjo16-Mar-16 11:22 
GeneralRe: Converting Array To Dictionary Pin
MadDashCoder16-Mar-16 11:32
MadDashCoder16-Mar-16 11:32 
AnswerRe: Converting Array To Dictionary Pin
Matt T Heffron16-Mar-16 11:47
professionalMatt T Heffron16-Mar-16 11:47 
AnswerRe: Converting Array To Dictionary Pin
Mathi Mani16-Mar-16 11:47
Mathi Mani16-Mar-16 11:47 
GeneralRe: Converting Array To Dictionary Pin
MadDashCoder16-Mar-16 12:04
MadDashCoder16-Mar-16 12:04 
SuggestionRe: Converting Array To Dictionary Pin
Sascha Lefèvre16-Mar-16 11:56
professionalSascha Lefèvre16-Mar-16 11:56 
SuggestionRe: Converting Array To Dictionary Pin
Richard Deeming17-Mar-16 1:58
mveRichard Deeming17-Mar-16 1:58 
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...

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.