Click here to Skip to main content
16,008,183 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# using get set. Why is this failing? Pin
OriginalGriff28-May-19 20:41
mveOriginalGriff28-May-19 20:41 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 0:36
Brian_TheLion29-May-19 0:36 
GeneralRe: C# using get set. Why is this failing? Pin
Pete O'Hanlon29-May-19 0:43
mvePete O'Hanlon29-May-19 0:43 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 14:41
Brian_TheLion29-May-19 14:41 
GeneralRe: C# using get set. Why is this failing? Pin
Pete O'Hanlon29-May-19 18:57
mvePete O'Hanlon29-May-19 18:57 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 19:55
Brian_TheLion29-May-19 19:55 
GeneralRe: C# using get set. Why is this failing? Pin
OriginalGriff29-May-19 1:11
mveOriginalGriff29-May-19 1:11 
GeneralRe: C# using get set. Why is this failing? Pin
BillWoodruff29-May-19 3:30
professionalBillWoodruff29-May-19 3:30 
I twitch when I see a private backing field that has an uppercase letter following an initial underscore : WTF | :WTF: I'm sorry.

However, when I consider this example is still current in the MS docs [^]:
public enum Color {...}  
public class Control {  
    public Color Color { get {...} set {...} }  
}
I throw up.

Remember the daze when common practice was to use: _mSomeName ?
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot

GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 20:14
Brian_TheLion29-May-19 20:14 
GeneralRe: C# using get set. Why is this failing? Pin
BillWoodruff29-May-19 22:48
professionalBillWoodruff29-May-19 22:48 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion30-May-19 1:20
Brian_TheLion30-May-19 1:20 
GeneralRe: C# using get set. Why is this failing? Pin
BillWoodruff30-May-19 4:33
professionalBillWoodruff30-May-19 4:33 
GeneralRe: C# using get set. Why is this failing? Pin
BillWoodruff31-May-19 20:12
professionalBillWoodruff31-May-19 20:12 
AnswerRe: C# using get set. Why is this failing? Pin
Gerry Schmitz29-May-19 3:52
mveGerry Schmitz29-May-19 3:52 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 14:52
Brian_TheLion29-May-19 14:52 
QuestionWinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru28-May-19 4:46
Ken Guru28-May-19 4:46 
AnswerRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Eddy Vluggen28-May-19 5:42
professionalEddy Vluggen28-May-19 5:42 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru28-May-19 22:00
Ken Guru28-May-19 22:00 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Eddy Vluggen28-May-19 23:30
professionalEddy Vluggen28-May-19 23:30 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru29-May-19 4:24
Ken Guru29-May-19 4:24 
AnswerRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
BillWoodruff28-May-19 15:52
professionalBillWoodruff28-May-19 15:52 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru28-May-19 21:54
Ken Guru28-May-19 21:54 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
BillWoodruff29-May-19 3:17
professionalBillWoodruff29-May-19 3:17 
AnswerRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Gerry Schmitz29-May-19 3:47
mveGerry Schmitz29-May-19 3:47 
GeneralRe: WinForms, Window with FormBorderStyle.None and Taskbar moved doesn't adjust to new size Pin
Ken Guru29-May-19 4:28
Ken Guru29-May-19 4:28 

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.