Click here to Skip to main content
15,902,492 members
Home / Discussions / C#
   

C#

 
GeneralRe: i need help............ Pin
OriginalGriff7-Mar-15 2:21
mveOriginalGriff7-Mar-15 2:21 
AnswerRe: i need help............ Pin
Afzaal Ahmad Zeeshan7-Mar-15 3:09
professionalAfzaal Ahmad Zeeshan7-Mar-15 3:09 
GeneralRe: i need help............ Pin
OriginalGriff7-Mar-15 3:55
mveOriginalGriff7-Mar-15 3:55 
GeneralRe: i need help............ Pin
Afzaal Ahmad Zeeshan7-Mar-15 3:59
professionalAfzaal Ahmad Zeeshan7-Mar-15 3:59 
GeneralRe: i need help............ Pin
manchanx7-Mar-15 4:30
professionalmanchanx7-Mar-15 4:30 
GeneralRe: i need help............ Pin
OriginalGriff7-Mar-15 4:35
mveOriginalGriff7-Mar-15 4:35 
GeneralRe: i need help............ Pin
Afzaal Ahmad Zeeshan7-Mar-15 4:41
professionalAfzaal Ahmad Zeeshan7-Mar-15 4:41 
GeneralRe: i need help............ Pin
BillWoodruff7-Mar-15 4:56
professionalBillWoodruff7-Mar-15 4:56 
Sometimes I wish there were an "Option Strict" compiler directive equivalent in C# to force having to declare the access modifier for every variable, prohibit use of 'var (except in special cases like with using 'dynamic, or the intermediate results of Linq queries, anonymous types, etc.), and require {} for every if/if-else block.

Why ? Because a lot of the coding mistakes I see with beginning students result from the "freedom" that C# does "give you" in writing code, and I think writing more verbose code that is "strict" is a good habit to learn ... in the beginning.

Now truly descriptive naming conventions ... oh, well, don't let me get started on that; I've already been accused of being a speed-typing chauvinist Smile | :)

In practice I find using ReSharper automates some of these guidelines for me quite nicely, but, of course, not everyone can afford to license it.
«To kill an error's as good a service, sometimes better than, establishing new truth or fact.» Charles Darwin in "Prospero's Precepts"

GeneralRe: i need help............ Pin
OriginalGriff7-Mar-15 5:06
mveOriginalGriff7-Mar-15 5:06 
AnswerRe: i need help............ Pin
BillWoodruff7-Mar-15 5:05
professionalBillWoodruff7-Mar-15 5:05 
QuestionHelp me, very urgent problem, about after running the program design. Pin
Member 114460806-Mar-15 16:25
Member 114460806-Mar-15 16:25 
AnswerRe: Help me, very urgent problem, about after running the program design. Pin
Dave Kreskowiak6-Mar-15 17:58
mveDave Kreskowiak6-Mar-15 17:58 
GeneralRe: Help me, very urgent problem, about after running the program design. Pin
Member 114460807-Mar-15 16:51
Member 114460807-Mar-15 16:51 
AnswerRe: Help me, very urgent problem, about after running the program design. Pin
Richard MacCutchan6-Mar-15 21:40
mveRichard MacCutchan6-Mar-15 21:40 
AnswerRe: Help me, very urgent problem, about after running the program design. Pin
OriginalGriff6-Mar-15 21:47
mveOriginalGriff6-Mar-15 21:47 
GeneralRe: Help me, very urgent problem, about after running the program design. Pin
Member 114460807-Mar-15 16:50
Member 114460807-Mar-15 16:50 
GeneralRe: Help me, very urgent problem, about after running the program design. Pin
OriginalGriff7-Mar-15 21:03
mveOriginalGriff7-Mar-15 21:03 
GeneralRe: Help me, very urgent problem, about after running the program design. Pin
phil.o7-Mar-15 8:19
professionalphil.o7-Mar-15 8:19 
QuestionNeed help changing a value in an application Pin
hopper16-Mar-15 12:11
hopper16-Mar-15 12:11 
AnswerRe: Need help changing a value in an application Pin
Richard Andrew x646-Mar-15 12:49
professionalRichard Andrew x646-Mar-15 12:49 
GeneralRe: Need help changing a value in an application Pin
manchanx6-Mar-15 12:55
professionalmanchanx6-Mar-15 12:55 
GeneralRe: Need help changing a value in an application Pin
Richard Andrew x646-Mar-15 12:56
professionalRichard Andrew x646-Mar-15 12:56 
GeneralRe: Need help changing a value in an application Pin
manchanx6-Mar-15 12:59
professionalmanchanx6-Mar-15 12:59 
GeneralRe: Need help changing a value in an application Pin
hopper16-Mar-15 13:05
hopper16-Mar-15 13:05 
GeneralRe: Need help changing a value in an application Pin
Dave Kreskowiak6-Mar-15 13:12
mveDave Kreskowiak6-Mar-15 13:12 

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.