Click here to Skip to main content
15,867,834 members
Home / Discussions / C#
   

C#

 
GeneralRe: (beginner question) help with code for a project Pin
Member 136645667-Feb-18 3:21
Member 136645667-Feb-18 3:21 
GeneralRe: (beginner question) help with code for a project Pin
Richard MacCutchan7-Feb-18 3:31
mveRichard MacCutchan7-Feb-18 3:31 
GeneralRe: (beginner question) help with code for a project Pin
Member 136645667-Feb-18 5:00
Member 136645667-Feb-18 5:00 
GeneralRe: (beginner question) help with code for a project Pin
Richard MacCutchan7-Feb-18 5:13
mveRichard MacCutchan7-Feb-18 5:13 
GeneralRe: (beginner question) help with code for a project Pin
Gerry Schmitz7-Feb-18 5:29
mveGerry Schmitz7-Feb-18 5:29 
QuestionDesign-Question: Using ReturnValue or Throwing Exception Pin
Frygreen6-Feb-18 11:06
Frygreen6-Feb-18 11:06 
AnswerRe: Design-Question: Using ReturnValue or Throwing Exception Pin
Richard Andrew x646-Feb-18 12:17
professionalRichard Andrew x646-Feb-18 12:17 
AnswerRe: Design-Question: Using ReturnValue or Throwing Exception Pin
Eddy Vluggen6-Feb-18 15:06
professionalEddy Vluggen6-Feb-18 15:06 
Frygreen wrote:
b) returning some additional information requires to return a object with additional attributes or a reference to an object in the parameterlist. Seems to be crazy too.
Why? If you want to communicate "what" went wrong you'll probably need a reference to a resource-text that is translated, and provide the variables.

Frygreen wrote:
a) throwing an exception could be wrong, because this scenario is not "exceptional", but standard
c) exceptions aren't there to model business cases, but for handling unexpected results in code. Yours isn't.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

AnswerRe: Design-Question: Using ReturnValue or Throwing Exception Pin
OriginalGriff6-Feb-18 23:21
mveOriginalGriff6-Feb-18 23:21 
AnswerRe: Design-Question: Using ReturnValue or Throwing Exception Pin
#realJSOP7-Feb-18 3:56
mve#realJSOP7-Feb-18 3:56 
AnswerRe: Design-Question: Using ReturnValue or Throwing Exception Pin
Gerry Schmitz7-Feb-18 5:45
mveGerry Schmitz7-Feb-18 5:45 
AnswerRe: Design-Question: Using ReturnValue or Throwing Exception Pin
Frygreen7-Feb-18 14:11
Frygreen7-Feb-18 14:11 
QuestionNunit3: Debug of Testcases. => No breakpoints hit with console-runner Pin
Frygreen6-Feb-18 9:35
Frygreen6-Feb-18 9:35 
AnswerRe: Nunit3: Debug of Testcases. => No breakpoints hit with console-runner Pin
Pete O'Hanlon6-Feb-18 10:10
subeditorPete O'Hanlon6-Feb-18 10:10 
GeneralRe: Nunit3: Debug of Testcases. => No breakpoints hit with console-runner Pin
Frygreen6-Feb-18 10:32
Frygreen6-Feb-18 10:32 
AnswerRe: Nunit3: Debug of Testcases. => No breakpoints hit with console-runner Pin
Gerry Schmitz7-Feb-18 5:54
mveGerry Schmitz7-Feb-18 5:54 
GeneralRe: Nunit3: Debug of Testcases. => No breakpoints hit with console-runner Pin
Frygreen7-Feb-18 14:32
Frygreen7-Feb-18 14:32 
GeneralRe: Nunit3: Debug of Testcases. => No breakpoints hit with console-runner Pin
Gerry Schmitz7-Feb-18 14:47
mveGerry Schmitz7-Feb-18 14:47 
Questionfile checker dump log in C# Pin
Member 136321716-Feb-18 4:34
Member 136321716-Feb-18 4:34 
AnswerRe: file checker dump log in C# Pin
Maciej Los6-Feb-18 5:25
mveMaciej Los6-Feb-18 5:25 
AnswerRe: file checker dump log in C# Pin
Richard MacCutchan6-Feb-18 5:26
mveRichard MacCutchan6-Feb-18 5:26 
AnswerRe: file checker dump log in C# Pin
Dave Kreskowiak6-Feb-18 16:55
mveDave Kreskowiak6-Feb-18 16:55 
QuestionHow to programmatically paste text into a specific Word document Pin
Leif Simon Goodwin6-Feb-18 4:19
Leif Simon Goodwin6-Feb-18 4:19 
AnswerRe: How to programmatically paste text into a specific Word document Pin
Eddy Vluggen6-Feb-18 5:25
professionalEddy Vluggen6-Feb-18 5:25 
GeneralRe: How to programmatically paste text into a specific Word document Pin
Leif Simon Goodwin6-Feb-18 21:51
Leif Simon Goodwin6-Feb-18 21:51 

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.