Click here to Skip to main content
15,895,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: Image Annotation in C# Pin
Pete O'Hanlon16-May-10 21:37
mvePete O'Hanlon16-May-10 21:37 
AnswerRe: Image Annotation in C# Pin
Luc Pattyn16-May-10 11:43
sitebuilderLuc Pattyn16-May-10 11:43 
AnswerRe: Image Annotation in C# Pin
Ravi Bhavnani16-May-10 13:30
professionalRavi Bhavnani16-May-10 13:30 
QuestionPorting a Windows Forms project to Mono Pin
User 691845416-May-10 10:24
User 691845416-May-10 10:24 
AnswerRe: Porting a Windows Forms project to Mono Pin
OriginalGriff16-May-10 21:45
mveOriginalGriff16-May-10 21:45 
QuestionHaving problems with C# and OpenGL interoperability Pin
Keith Vitali16-May-10 9:04
Keith Vitali16-May-10 9:04 
AnswerRe: Having problems with C# and OpenGL interoperability Pin
Keith Vitali16-May-10 11:44
Keith Vitali16-May-10 11:44 
QuestionImplicit Variables Pin
Darrall16-May-10 6:51
Darrall16-May-10 6:51 
I have been studying C# for 6 months now. Perhaps I should have but I haven't yet run into the use of var for implicit variables and - in the following example - the subsequent replacing of parentheses with braces for enclosing the parameters.

var viewModel = new StoreIndexViewModel {
                NumberOfGenres = genres.Count(),
                Genres = genres};


I assume there is a particular reason for this? Any help would be appreciated. Thanks.

Darrall
AnswerRe: Implicit Variables Pin
Abhinav S16-May-10 7:22
Abhinav S16-May-10 7:22 
GeneralRe: Implicit Variables Pin
Darrall16-May-10 7:33
Darrall16-May-10 7:33 
AnswerRe: Implicit Variables Pin
riced16-May-10 8:12
riced16-May-10 8:12 
GeneralRe: Implicit Variables Pin
Darrall16-May-10 10:28
Darrall16-May-10 10:28 
QuestionSystem.Globalization and Provinces Pin
Ryan Minor16-May-10 6:11
Ryan Minor16-May-10 6:11 
AnswerRe: System.Globalization and Provinces Pin
dan!sh 16-May-10 6:19
professional dan!sh 16-May-10 6:19 
AnswerRe: System.Globalization and Provinces Pin
Abhinav S16-May-10 6:35
Abhinav S16-May-10 6:35 
AnswerRe: System.Globalization and Provinces Pin
Pete O'Hanlon16-May-10 10:21
mvePete O'Hanlon16-May-10 10:21 
QuestionSystem.Globalization and ComboBox of Countries Pin
Ryan Minor16-May-10 5:36
Ryan Minor16-May-10 5:36 
AnswerRe: System.Globalization and ComboBox of Countries Pin
OriginalGriff16-May-10 5:44
mveOriginalGriff16-May-10 5:44 
GeneralRe: System.Globalization and ComboBox of Countries [modified] Pin
Luc Pattyn16-May-10 6:05
sitebuilderLuc Pattyn16-May-10 6:05 
GeneralRe: System.Globalization and ComboBox of Countries Pin
OriginalGriff16-May-10 21:47
mveOriginalGriff16-May-10 21:47 
Questionauto generate code number Pin
FEMDEV16-May-10 1:59
FEMDEV16-May-10 1:59 
AnswerUrgent Pin
Not Active16-May-10 2:33
mentorNot Active16-May-10 2:33 
GeneralRe: Urgent Pin
FEMDEV16-May-10 2:56
FEMDEV16-May-10 2:56 
GeneralRe: Urgent Pin
Not Active16-May-10 3:17
mentorNot Active16-May-10 3:17 
GeneralRe: Urgent Pin
FEMDEV16-May-10 4:03
FEMDEV16-May-10 4:03 

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.