Click here to Skip to main content
15,900,815 members
Home / Discussions / C#
   

C#

 
QuestionUnable to see underlined shorcuts in main menu Pin
TheBlindWatchmaker26-Nov-05 7:38
TheBlindWatchmaker26-Nov-05 7:38 
AnswerRe: Unable to see underlined shorcuts in main menu Pin
Dave Kreskowiak26-Nov-05 8:19
mveDave Kreskowiak26-Nov-05 8:19 
GeneralRe: Unable to see underlined shorcuts in main menu Pin
TheBlindWatchmaker26-Nov-05 8:32
TheBlindWatchmaker26-Nov-05 8:32 
Questionproperties vs public fields Pin
hypermegachi26-Nov-05 7:04
hypermegachi26-Nov-05 7:04 
AnswerRe: properties vs public fields Pin
Colin Angus Mackay26-Nov-05 7:23
Colin Angus Mackay26-Nov-05 7:23 
GeneralRe: properties vs public fields Pin
hypermegachi26-Nov-05 12:13
hypermegachi26-Nov-05 12:13 
GeneralRe: properties vs public fields Pin
Colin Angus Mackay26-Nov-05 13:53
Colin Angus Mackay26-Nov-05 13:53 
GeneralRe: properties vs public fields Pin
hypermegachi27-Nov-05 6:43
hypermegachi27-Nov-05 6:43 
you're making the assumption that i'm accidentically exposing internal things. but i know for sure that i want everything to see...just like the Point struct.

btw, msdn doesn't say anything about fields in general, but it is very specific about the visibility.

private fields have nothing mentioned about them. this allows programmers to use hungarion, _prefix, or whatever they want. protected fields are camel cased (so derived classes don't get all confused with hungarion crap). and public fields are pascal cased to following everything else in the framework.

since i am following the guidelines, all my public fields are pascal cased, so converting to a property won't require you to refactor/rename every project that uses it.

btw, if you turn on xml, the compiler will warn you about all undocumented public fields as well.
GeneralRe: properties vs public fields Pin
Colin Angus Mackay27-Nov-05 13:24
Colin Angus Mackay27-Nov-05 13:24 
GeneralRe: properties vs public fields Pin
hypermegachi27-Nov-05 16:53
hypermegachi27-Nov-05 16:53 
GeneralRe: properties vs public fields Pin
Colin Angus Mackay27-Nov-05 20:26
Colin Angus Mackay27-Nov-05 20:26 
GeneralRe: properties vs public fields Pin
hypermegachi28-Nov-05 3:58
hypermegachi28-Nov-05 3:58 
QuestionUrgent:Marshalling BSTR* Pin
rana7426-Nov-05 6:23
rana7426-Nov-05 6:23 
QuestionISR in C# Pin
mostafa.hk26-Nov-05 5:21
mostafa.hk26-Nov-05 5:21 
AnswerRe: ISR in C# Pin
Stanciu Vlad26-Nov-05 5:39
Stanciu Vlad26-Nov-05 5:39 
Questionregex Pin
Sam 200626-Nov-05 5:12
Sam 200626-Nov-05 5:12 
AnswerRe: regex Pin
Guffa26-Nov-05 8:50
Guffa26-Nov-05 8:50 
AnswerRe: regex Pin
Curtis Schlak.26-Nov-05 10:30
Curtis Schlak.26-Nov-05 10:30 
QuestionControl apperance in VS 2005 Pin
ON7AMI26-Nov-05 4:17
ON7AMI26-Nov-05 4:17 
AnswerRe: Control apperance in VS 2005 Pin
Sam 200626-Nov-05 5:17
Sam 200626-Nov-05 5:17 
GeneralRe: Control apperance in VS 2005 Pin
ON7AMI27-Nov-05 7:22
ON7AMI27-Nov-05 7:22 
Questioninserting images in word document from c#? Pin
Hiral Patel26-Nov-05 2:52
Hiral Patel26-Nov-05 2:52 
QuestionHow do I know that how many users are online? Pin
asifhameed126-Nov-05 1:31
asifhameed126-Nov-05 1:31 
AnswerRe: How do I know that how many users are online? Pin
MoustafaS26-Nov-05 1:51
MoustafaS26-Nov-05 1:51 
Questionread from excel file Pin
eyalso26-Nov-05 1:22
eyalso26-Nov-05 1:22 

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.