Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
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 
source.compiler wrote:
well lemme explain whats my problem !
i thought writing codes is most simple part of developing ,but after some project which i did ,i found that need to change my coding style ! as you know for one porpuse is many way to achieve ! but i found always choose worst way !

There are a lot of ways to do something, and even we bicker about what is "best". And most of us here will have some "old code" somewhere from years ago that makes 'em go "wtf" today.

Always ask an explanation if there's an opportunity to do so.

source.compiler wrote:
well is any book or reference to teach me how i choose best way? at least better way!

You might want to download FxCop; it checks your code using pre-set rules. Another sweet way of learning alternatives is to read existing code (I love meeting new brownfields!) and, again if possible, ask for explanation if something is interesting.

Get lots of practice. Start your own open-source project, so that you'll be forced to "maintain" your own code.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

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 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 3:54
adam.m.b.nelson14-Feb-13 3:54 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 4:57
mveRichard MacCutchan14-Feb-13 4:57 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 5:46
adam.m.b.nelson14-Feb-13 5:46 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 5:56
adam.m.b.nelson14-Feb-13 5:56 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 6:01
mveRichard MacCutchan14-Feb-13 6:01 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 6:57
adam.m.b.nelson14-Feb-13 6:57 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 7:03
mveRichard MacCutchan14-Feb-13 7:03 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 7:45
adam.m.b.nelson14-Feb-13 7:45 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 8:02
adam.m.b.nelson14-Feb-13 8:02 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
Richard MacCutchan14-Feb-13 6:29
mveRichard MacCutchan14-Feb-13 6:29 
GeneralRe: Send/Receive text to CMD from C# GUI Pin
adam.m.b.nelson14-Feb-13 7:04
adam.m.b.nelson14-Feb-13 7:04 

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.