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

C#

 
AnswerRe: send SMS in C# Pin
taha bahraminezhad Jooneghani3-Jun-12 1:56
taha bahraminezhad Jooneghani3-Jun-12 1:56 
QuestionHow to hold dice in yahtzee Pin
Member 83368481-Jun-12 16:05
Member 83368481-Jun-12 16:05 
AnswerRe: How to hold dice in yahtzee Pin
sina rahimzadeh1-Jun-12 21:46
sina rahimzadeh1-Jun-12 21:46 
GeneralRe: How to hold dice in yahtzee Pin
Member 83368481-Jun-12 23:18
Member 83368481-Jun-12 23:18 
QuestionEntity Framework Problem Pin
Kevin Marois1-Jun-12 14:31
professionalKevin Marois1-Jun-12 14:31 
AnswerRe: Entity Framework Problem Pin
Unnikrishnan_S_N9-Jul-12 5:26
Unnikrishnan_S_N9-Jul-12 5:26 
RantVariable Names In Various Projects (Not My Own) Pin
Matt U.1-Jun-12 5:12
Matt U.1-Jun-12 5:12 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
Luc Pattyn1-Jun-12 5:57
sitebuilderLuc Pattyn1-Jun-12 5:57 
My 2 cts:

1.
The worst style aspect is using single-letter identifiers, especially for the method itself and its parameters. Giving them meaningful names makes things a lot easier to understand. And they might show up in Intellisense or something similar, making the use of the method a lot easier.

2.
Yes, a method-level comment (a "contract") explaining what the method promises to do for you would be nice (unless #1 fixed all that already).

3.
About why "string1" and "q>0" are there I can't tell you anything, as I have no clue what the purpose of the whole thing is.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Variable Names In Various Projects (Not My Own) Pin
PIEBALDconsult1-Jun-12 6:03
mvePIEBALDconsult1-Jun-12 6:03 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
Matt U.1-Jun-12 7:36
Matt U.1-Jun-12 7:36 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
GenJerDan1-Jun-12 10:30
GenJerDan1-Jun-12 10:30 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
Paul Conrad1-Jun-12 13:55
professionalPaul Conrad1-Jun-12 13:55 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
Matt U.2-Jun-12 7:38
Matt U.2-Jun-12 7:38 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
Ravi Bhavnani1-Jun-12 10:12
professionalRavi Bhavnani1-Jun-12 10:12 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
Matt U.2-Jun-12 7:40
Matt U.2-Jun-12 7:40 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
jschell4-Jun-12 8:15
jschell4-Jun-12 8:15 
GeneralRe: Variable Names In Various Projects (Not My Own) Pin
Matt U.14-Jun-12 2:37
Matt U.14-Jun-12 2:37 
QuestionWCF service as Windows Service Pin
TwilightEva1-Jun-12 2:26
TwilightEva1-Jun-12 2:26 
AnswerRe: WCF service as Windows Service Pin
sina rahimzadeh1-Jun-12 3:15
sina rahimzadeh1-Jun-12 3:15 
GeneralRe: WCF service as Windows Service Pin
jschell1-Jun-12 3:38
jschell1-Jun-12 3:38 
GeneralRe: WCF service as Windows Service Pin
Pete O'Hanlon1-Jun-12 3:47
mvePete O'Hanlon1-Jun-12 3:47 
JokeRe: WCF service as Windows Service Pin
TwilightEva1-Jun-12 4:05
TwilightEva1-Jun-12 4:05 
AnswerRe: WCF service as Windows Service Pin
jschell1-Jun-12 3:46
jschell1-Jun-12 3:46 
GeneralRe: WCF service as Windows Service Pin
TwilightEva1-Jun-12 4:04
TwilightEva1-Jun-12 4:04 
GeneralRe: WCF service as Windows Service Pin
taha bahraminezhad Jooneghani3-Jun-12 2:02
taha bahraminezhad Jooneghani3-Jun-12 2:02 

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.