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

C#

 
AnswerRe: StreamWriter.WriteAsync Pin
Dave Kreskowiak14-Feb-13 7:31
mveDave Kreskowiak14-Feb-13 7:31 
GeneralRe: StreamWriter.WriteAsync Pin
wizardzz14-Feb-13 8:33
wizardzz14-Feb-13 8:33 
GeneralRe: StreamWriter.WriteAsync Pin
wizardzz14-Feb-13 8:55
wizardzz14-Feb-13 8:55 
Questionsingle selection of radio buttons in a table Pin
Member 258173814-Feb-13 4:36
Member 258173814-Feb-13 4:36 
AnswerRe: single selection of radio buttons in a table Pin
Richard MacCutchan14-Feb-13 4:58
mveRichard MacCutchan14-Feb-13 4:58 
AnswerRe: single selection of radio buttons in a table Pin
Alan Balkany14-Feb-13 5:04
Alan Balkany14-Feb-13 5:04 
QuestionBetter code Pin
ali_heidari_14-Feb-13 3:57
ali_heidari_14-Feb-13 3:57 
AnswerRe: Better code Pin
Alan Balkany14-Feb-13 4:50
Alan Balkany14-Feb-13 4:50 
Strive for CLARITY.

Bugs tend to appear in unclear code. They're harder to find there too. Maintenance of unclear code is more expensive. Unclear code is unreliable.

Try to make your methods short. As a method grows in size, its complexity increases faster than linear. If a method is becoming too large, break it up into 3-5 subroutine calls.

Start with designing the GUI. This will guide the rest of the development.

Don't feel bad if the approach you took was the worst one, because you'll learn from this experience. All programmers go through this. Try to summarize what you've learned in a simple rule you can follow to avoid this problem in the future.
GeneralRe: Better code Pin
Manfred Rudolf Bihy14-Feb-13 5:28
professionalManfred Rudolf Bihy14-Feb-13 5:28 
QuestionRe: Better code Pin
ali_heidari_14-Feb-13 5:40
ali_heidari_14-Feb-13 5:40 
AnswerRe: Better code Pin
Alan Balkany14-Feb-13 5:50
Alan Balkany14-Feb-13 5:50 
GeneralRe: Better code Pin
Dave Kreskowiak14-Feb-13 6:09
mveDave Kreskowiak14-Feb-13 6:09 
GeneralRe: Better code Pin
Espen Harlinn14-Feb-13 6:14
professionalEspen Harlinn14-Feb-13 6:14 
GeneralRe: Better code Pin
Alan Balkany14-Feb-13 6:40
Alan Balkany14-Feb-13 6:40 
GeneralRe: Better code Pin
ali_heidari_14-Feb-13 12:02
ali_heidari_14-Feb-13 12:02 
GeneralRe: Better code Pin
Alan Balkany15-Feb-13 3:18
Alan Balkany15-Feb-13 3:18 
AnswerRe: Better code Pin
sonusonyy14-Feb-13 8:19
sonusonyy14-Feb-13 8:19 
GeneralRe: Better code Pin
Amir Mohammad Nasrollahi29-Jul-13 22:16
professionalAmir Mohammad Nasrollahi29-Jul-13 22:16 
AnswerRe: Better code Pin
Eddy Vluggen14-Feb-13 8:30
professionalEddy Vluggen14-Feb-13 8:30 
GeneralRe: Better code Pin
ali_heidari_14-Feb-13 12:05
ali_heidari_14-Feb-13 12:05 
GeneralRe: Better code Pin
Bull City Rambler14-Feb-13 12:58
Bull City Rambler14-Feb-13 12:58 
GeneralRe: Better code Pin
Eddy Vluggen14-Feb-13 21:01
professionalEddy Vluggen14-Feb-13 21:01 
AnswerRe: Better code Pin
cjb11015-Feb-13 0:59
cjb11015-Feb-13 0:59 
QuestionSend/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 3:13
adam.m.b.nelson14-Feb-13 3:13 
AnswerRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 3:45
mveRichard MacCutchan14-Feb-13 3:45 

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.