Click here to Skip to main content
15,896,415 members
Home / Discussions / C#
   

C#

 
GeneralRe: Accessing a static variable Pin
Member 41431915-Nov-08 10:25
Member 41431915-Nov-08 10:25 
QuestionHow to compare custom objects in a Dictionary<> Pin
ret76795-Nov-08 8:24
ret76795-Nov-08 8:24 
AnswerRe: How to compare custom objects in a Dictionary<> Pin
User 66585-Nov-08 9:50
User 66585-Nov-08 9:50 
GeneralRe: How to compare custom objects in a Dictionary<> Pin
ret76796-Nov-08 5:27
ret76796-Nov-08 5:27 
GeneralRe: How to compare custom objects in a Dictionary<> Pin
User 66586-Nov-08 10:25
User 66586-Nov-08 10:25 
Questiondeleting data from a database Pin
postonoh5-Nov-08 7:25
postonoh5-Nov-08 7:25 
QuestionRe: deleting data from a database Pin
Le centriste5-Nov-08 8:33
Le centriste5-Nov-08 8:33 
GeneralRe: deleting data from a database Pin
Guffa5-Nov-08 9:17
Guffa5-Nov-08 9:17 
Le Centriste wrote:
Btw, var is not a C# keyword.


Actually it is, in C# 3.5 and later.

However, I have seldom seen it more misused. The coder has obviously not read the documentation:

"Overuse of var can make source code less readable for others. It is recommended to use var only when it is necessary, that is, when the variable will be used to store an anonymous type or a collection of anonymous types."


Or perhaps he has chosen to totally disregard this recommendation.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: deleting data from a database Pin
Le centriste5-Nov-08 9:35
Le centriste5-Nov-08 9:35 
AnswerRe: deleting data from a database Pin
Guffa5-Nov-08 9:37
Guffa5-Nov-08 9:37 
GeneralRe: deleting data from a database Pin
postonoh5-Nov-08 9:42
postonoh5-Nov-08 9:42 
QuestionGetting application Icon Pin
Dirso5-Nov-08 7:16
Dirso5-Nov-08 7:16 
AnswerRe: Getting application Icon Pin
Colin Angus Mackay5-Nov-08 7:22
Colin Angus Mackay5-Nov-08 7:22 
GeneralRe: Getting application Icon Pin
Dirso5-Nov-08 7:35
Dirso5-Nov-08 7:35 
AnswerRe: Getting application Icon Pin
Henry Minute5-Nov-08 9:50
Henry Minute5-Nov-08 9:50 
GeneralRe: Getting application Icon Pin
Dirso5-Nov-08 10:54
Dirso5-Nov-08 10:54 
QuestionOpen Button Click Event Pin
boiDev5-Nov-08 7:15
boiDev5-Nov-08 7:15 
AnswerRe: Open Button Click Event Pin
Colin Angus Mackay5-Nov-08 7:24
Colin Angus Mackay5-Nov-08 7:24 
AnswerRe: Open Button Click Event Pin
nelsonpaixao5-Nov-08 14:07
nelsonpaixao5-Nov-08 14:07 
QuestionHow to programmatically release resources hold by Thread? Pin
Member 23244835-Nov-08 6:09
Member 23244835-Nov-08 6:09 
GeneralRe: How to programmatically release resources hold by Thread? Pin
led mike5-Nov-08 6:16
led mike5-Nov-08 6:16 
GeneralRe: How to programmatically release resources hold by Thread? Pin
Member 23244835-Nov-08 6:31
Member 23244835-Nov-08 6:31 
GeneralRe: How to programmatically release resources hold by Thread? Pin
led mike5-Nov-08 7:04
led mike5-Nov-08 7:04 
AnswerRe: How to programmatically release resources hold by Thread? Pin
Guffa5-Nov-08 6:54
Guffa5-Nov-08 6:54 
GeneralRe: How to programmatically release resources hold by Thread? Pin
Member 23244835-Nov-08 7:08
Member 23244835-Nov-08 7:08 

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.