Click here to Skip to main content
15,910,981 members
Home / Discussions / C#
   

C#

 
AnswerRe: Adding Web Refrence at runtime Pin
Wendelius20-Nov-08 8:35
mentorWendelius20-Nov-08 8:35 
GeneralRe: Adding Web Refrence at runtime Pin
Sabry190520-Nov-08 9:23
Sabry190520-Nov-08 9:23 
GeneralRe: Adding Web Refrence at runtime [modified] Pin
Wendelius20-Nov-08 9:37
mentorWendelius20-Nov-08 9:37 
QuestionDeclaring 'Lists' Pin
nlowdon20-Nov-08 6:43
nlowdon20-Nov-08 6:43 
AnswerRe: Declaring 'Lists' Pin
humayunlalzad20-Nov-08 7:02
humayunlalzad20-Nov-08 7:02 
AnswerRe: Declaring 'Lists' Pin
Wendelius20-Nov-08 7:11
mentorWendelius20-Nov-08 7:11 
GeneralRe: Declaring 'Lists' Pin
Ennis Ray Lynch, Jr.20-Nov-08 7:48
Ennis Ray Lynch, Jr.20-Nov-08 7:48 
GeneralRe: Declaring 'Lists' Pin
Wendelius20-Nov-08 8:04
mentorWendelius20-Nov-08 8:04 
When posting the answer I though for awhile if I should declare the list readonly or not.

When used correctly, readonly eliminates certain problems that can occur if the actual list is changed. I would say that it depends if you want the list to be changed or just to allow to modify it's content. That's why I also defined only getter for the property.

The other thing was that the original question was, how to define a list globally so that others can see and use it. Based on the question my interpretation was (maybe incorrectly) that the list should not be changeable, but it's contents can still be modified.

The need to optimize rises from a bad design.

My articles[^]

QuestionBitwise operator Pin
humayunlalzad20-Nov-08 6:38
humayunlalzad20-Nov-08 6:38 
AnswerRe: Bitwise operator Pin
led mike20-Nov-08 7:13
led mike20-Nov-08 7:13 
AnswerRe: Bitwise operator Pin
Gideon Engelberth20-Nov-08 9:50
Gideon Engelberth20-Nov-08 9:50 
GeneralRe: Bitwise operator Pin
Luc Pattyn20-Nov-08 13:47
sitebuilderLuc Pattyn20-Nov-08 13:47 
GeneralRe: Bitwise operator Pin
humayunlalzad21-Nov-08 5:50
humayunlalzad21-Nov-08 5:50 
GeneralRe: Bitwise operator Pin
Luc Pattyn21-Nov-08 5:54
sitebuilderLuc Pattyn21-Nov-08 5:54 
GeneralRe: Bitwise operator Pin
humayunlalzad21-Nov-08 6:44
humayunlalzad21-Nov-08 6:44 
GeneralRe: Bitwise operator Pin
Luc Pattyn21-Nov-08 8:17
sitebuilderLuc Pattyn21-Nov-08 8:17 
QuestionRotating Label Control [modified] Pin
#realJSOP20-Nov-08 6:16
professional#realJSOP20-Nov-08 6:16 
AnswerRe: Rotating Label Control Pin
Jim Crafton20-Nov-08 8:40
Jim Crafton20-Nov-08 8:40 
GeneralRe: Rotating Label Control Pin
#realJSOP20-Nov-08 8:54
professional#realJSOP20-Nov-08 8:54 
GeneralRe: Rotating Label Control Pin
#realJSOP20-Nov-08 9:47
professional#realJSOP20-Nov-08 9:47 
GeneralRe: Rotating Label Control Pin
Jim Crafton20-Nov-08 9:49
Jim Crafton20-Nov-08 9:49 
GeneralRe: Rotating Label Control Pin
Jim Crafton20-Nov-08 9:51
Jim Crafton20-Nov-08 9:51 
QuestionAlways on top for a C# form Pin
EliottA20-Nov-08 6:14
EliottA20-Nov-08 6:14 
AnswerRe: Always on top for a C# form Pin
Giorgi Dalakishvili20-Nov-08 6:21
mentorGiorgi Dalakishvili20-Nov-08 6:21 
GeneralRe: Always on top for a C# form Pin
EliottA20-Nov-08 6:24
EliottA20-Nov-08 6:24 

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.