Click here to Skip to main content
15,885,366 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ok, now it's my turn to complain about C# Pin
Luc Pattyn24-Nov-10 6:43
sitebuilderLuc Pattyn24-Nov-10 6:43 
GeneralRe: Ok, now it's my turn to complain about C# Pin
PIEBALDconsult24-Nov-10 9:23
mvePIEBALDconsult24-Nov-10 9:23 
GeneralRe: Ok, now it's my turn to complain about C# Pin
Luc Pattyn24-Nov-10 9:31
sitebuilderLuc Pattyn24-Nov-10 9:31 
AnswerRe: Ok, now it's my turn to complain about C# Pin
_Erik_23-Nov-10 4:44
_Erik_23-Nov-10 4:44 
GeneralRe: Ok, now it's my turn to complain about C# Pin
Ray Cassick24-Nov-10 10:41
Ray Cassick24-Nov-10 10:41 
AnswerRe: Ok, now it's my turn to complain about C# Pin
PIEBALDconsult24-Nov-10 9:37
mvePIEBALDconsult24-Nov-10 9:37 
GeneralRe: Ok, now it's my turn to complain about C# Pin
Ray Cassick24-Nov-10 10:38
Ray Cassick24-Nov-10 10:38 
QuestionHow do you initialize automatic list properties? Pin
T M Gray22-Nov-10 9:10
T M Gray22-Nov-10 9:10 
C#
publc class Thing
{
  Thing () {}

  public List<Foo> MyFoos {get; set;}
}
<pre>

How do you get the list to be defaulted to an empty list rather than null? Do I need to implement a private backing variable?

AnswerRe: How do you initialize automatic list properties? Pin
Not Active22-Nov-10 9:19
mentorNot Active22-Nov-10 9:19 
GeneralRe: How do you initialize automatic list properties? Pin
fjdiewornncalwe22-Nov-10 9:33
professionalfjdiewornncalwe22-Nov-10 9:33 
GeneralRe: How do you initialize automatic list properties? Pin
T M Gray22-Nov-10 9:44
T M Gray22-Nov-10 9:44 
GeneralRe: How do you initialize automatic list properties? Pin
fjdiewornncalwe22-Nov-10 9:55
professionalfjdiewornncalwe22-Nov-10 9:55 
GeneralRe: How do you initialize automatic list properties? Pin
T M Gray22-Nov-10 10:20
T M Gray22-Nov-10 10:20 
GeneralRe: How do you initialize automatic list properties? Pin
Pete O'Hanlon22-Nov-10 10:28
mvePete O'Hanlon22-Nov-10 10:28 
GeneralRe: How do you initialize automatic list properties? Pin
Pete O'Hanlon22-Nov-10 10:29
mvePete O'Hanlon22-Nov-10 10:29 
AnswerRe: How do you initialize automatic list properties? Pin
Eddy Vluggen22-Nov-10 9:19
professionalEddy Vluggen22-Nov-10 9:19 
Questionbest FREE Wizard control Pin
Jassim Rahma22-Nov-10 3:24
Jassim Rahma22-Nov-10 3:24 
AnswerRe: best FREE Wizard control Pin
DaveyM6922-Nov-10 7:25
professionalDaveyM6922-Nov-10 7:25 
GeneralRe: best FREE Wizard control Pin
Jassim Rahma23-Nov-10 3:22
Jassim Rahma23-Nov-10 3:22 
QuestionAdvertisment Impressions Pin
Jassim Rahma22-Nov-10 3:11
Jassim Rahma22-Nov-10 3:11 
QuestionPop up window (like skype) Pin
Anil Kumar.Arvapalli22-Nov-10 1:25
Anil Kumar.Arvapalli22-Nov-10 1:25 
AnswerRe: Pop up window (like skype) Pin
JF201522-Nov-10 1:30
JF201522-Nov-10 1:30 
AnswerRe: Pop up window (like skype) PinPopular
Manfred Rudolf Bihy22-Nov-10 2:20
professionalManfred Rudolf Bihy22-Nov-10 2:20 
Questionhow to use .m file in C# Pin
Darko Nikolovski21-Nov-10 22:54
Darko Nikolovski21-Nov-10 22:54 
AnswerRe: how to use .m file in C# Pin
Niladri_Biswas22-Nov-10 2:53
Niladri_Biswas22-Nov-10 2:53 

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.