Click here to Skip to main content
14,271,013 members
   

C#

 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion28-May-19 20:37
memberBrian_TheLion28-May-19 20:37 
AnswerRe: C# using get set. Why is this failing? Pin
lmoelleb28-May-19 20:39
memberlmoelleb28-May-19 20:39 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 0:24
memberBrian_TheLion29-May-19 0:24 
GeneralRe: C# using get set. Why is this failing? Pin
lmoelleb29-May-19 2:27
memberlmoelleb29-May-19 2:27 
AnswerRe: C# using get set. Why is this failing? Pin
Member 1356638329-May-19 5:30
memberMember 1356638329-May-19 5:30 
GeneralRe: C# using get set. Why is this failing? Pin
Dave Kreskowiak29-May-19 7:18
mveDave Kreskowiak29-May-19 7:18 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 14:50
memberBrian_TheLion29-May-19 14:50 
GeneralRe: C# using get set. Why is this failing? Pin
Dave Kreskowiak29-May-19 16:23
mveDave Kreskowiak29-May-19 16:23 
Show the code.

Hitting F5 doesn't "turn on the debugger". It launches the result of compiling whatever is tagged as the "Startup project", and its dependencies, then the debugger is "attached" to the launched process.

There are two sets of error messages, compile-time and run-time. All of the messages that tell you "what's wrong and how to fix it" are at compile-time, before you even have an .EXE to run. These are syntax problems with your code.

The other messages show up at run-time and tell you how your code failed to execute somewhere. These are related to very specific problems with some action your code is executing, such as "Access Denied" or "File Not Found". These message never show up at compile-time and will only give you a hint of what to look for when stepping through your code and inspecting variables. These are problems with the logic in your code. Quite often you can write syntactically correct code and it will compile, but when it comes to running it, you can have all kinds of problems.

GeneralRe: C# using get set. Why is this failing? Pin
Member 798912229-May-19 4:38
memberMember 798912229-May-19 4:38 
GeneralRe: C# using get set. Why is this failing? Pin
Richard MacCutchan29-May-19 5:58
protectorRichard MacCutchan29-May-19 5:58 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 14:44
memberBrian_TheLion29-May-19 14:44 
GeneralRe: C# using get set. Why is this failing? Pin
Dave Kreskowiak29-May-19 16:26
mveDave Kreskowiak29-May-19 16:26 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 18:23
memberBrian_TheLion29-May-19 18:23 
GeneralRe: C# using get set. Why is this failing? Pin
lmoelleb2-Jun-19 22:46
memberlmoelleb2-Jun-19 22:46 
AnswerRe: C# using get set. Why is this failing? Pin
OriginalGriff28-May-19 20:41
protectorOriginalGriff28-May-19 20:41 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 0:36
memberBrian_TheLion29-May-19 0:36 
GeneralRe: C# using get set. Why is this failing? Pin
Pete O'Hanlon29-May-19 0:43
protectorPete O'Hanlon29-May-19 0:43 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 14:41
memberBrian_TheLion29-May-19 14:41 
GeneralRe: C# using get set. Why is this failing? Pin
Pete O'Hanlon29-May-19 18:57
protectorPete O'Hanlon29-May-19 18:57 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 19:55
memberBrian_TheLion29-May-19 19:55 
GeneralRe: C# using get set. Why is this failing? Pin
OriginalGriff29-May-19 1:11
protectorOriginalGriff29-May-19 1:11 
GeneralRe: C# using get set. Why is this failing? Pin
BillWoodruff29-May-19 3:30
mveBillWoodruff29-May-19 3:30 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion29-May-19 20:14
memberBrian_TheLion29-May-19 20:14 
GeneralRe: C# using get set. Why is this failing? Pin
BillWoodruff29-May-19 22:48
mveBillWoodruff29-May-19 22:48 
GeneralRe: C# using get set. Why is this failing? Pin
Brian_TheLion30-May-19 1:20
memberBrian_TheLion30-May-19 1:20 

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.