Click here to Skip to main content
15,907,396 members
Home / Discussions / C#
   

C#

 
GeneralRe: Setting the toolbar's background transparented Pin
yyylny13-Dec-04 3:50
yyylny13-Dec-04 3:50 
Generalchanging a DateTime to dd/mm/yyyy Pin
steve_rm10-Dec-04 23:10
steve_rm10-Dec-04 23:10 
GeneralRe: changing a DateTime to dd/mm/yyyy Pin
Atal Upadhyay11-Dec-04 0:45
Atal Upadhyay11-Dec-04 0:45 
Generaluneable to sort my listview Pin
michael.wikstrom10-Dec-04 21:22
michael.wikstrom10-Dec-04 21:22 
GeneralRe: uneable to sort my listview Pin
Daniel Turini11-Dec-04 21:21
Daniel Turini11-Dec-04 21:21 
GeneralWin2k Socket Security Exception Pin
Tristan Rhodes10-Dec-04 21:10
Tristan Rhodes10-Dec-04 21:10 
QuestionDuplicated items in watch window ? Pin
sachinkalse10-Dec-04 18:23
sachinkalse10-Dec-04 18:23 
AnswerRe: Duplicated items in watch window ? Pin
Heath Stewart10-Dec-04 20:55
protectorHeath Stewart10-Dec-04 20:55 
Those are duplicates. One is the private field and the other is the public or protected property that exposes the field. Notice the difference in case? The .NET Framework is case-sensitive (despite what you hear about VB.NET, in which case it's only "case-insensitive" because the source editor corrects the case for you at design-time).

Fields should never be exposed publicly, except perhaps for constant values. One common naming convention is for the private fields to use a lower-case letter in the first position while the property that reflects it uses the upper-case notation that is a guideline in the .NET Framework (unlike Java, in which case all members start with a lower-case letter; consistency is very important in Rapid Application Development (RAD) environments).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralBeta 2.0 limitations Pin
Yaakov Davis10-Dec-04 17:46
Yaakov Davis10-Dec-04 17:46 
GeneralRe: Beta 2.0 limitations Pin
Heath Stewart10-Dec-04 20:46
protectorHeath Stewart10-Dec-04 20:46 
GeneralRe: Beta 2.0 limitations Pin
Yaakov Davis10-Dec-04 22:22
Yaakov Davis10-Dec-04 22:22 
QuestionHow to Create static Enum like ConnectionState Pin
trevor_ledet10-Dec-04 15:21
trevor_ledet10-Dec-04 15:21 
AnswerRe: How to Create static Enum like ConnectionState Pin
Heath Stewart10-Dec-04 20:51
protectorHeath Stewart10-Dec-04 20:51 
GeneralRe: How to Create static Enum like ConnectionState Pin
trevor_ledet11-Dec-04 5:52
trevor_ledet11-Dec-04 5:52 
GeneralMOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 15:19
Tyrus18210-Dec-04 15:19 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 16:28
Skynyrd10-Dec-04 16:28 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:03
Tyrus18210-Dec-04 17:03 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 17:07
Skynyrd10-Dec-04 17:07 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:15
Tyrus18210-Dec-04 17:15 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:14
Tyrus18210-Dec-04 17:14 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 17:17
Skynyrd10-Dec-04 17:17 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:29
Tyrus18210-Dec-04 17:29 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 17:44
Tyrus18210-Dec-04 17:44 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Skynyrd10-Dec-04 19:10
Skynyrd10-Dec-04 19:10 
GeneralRe: MOVING CHILD WINDOWS IN MDI Pin
Tyrus18210-Dec-04 19:54
Tyrus18210-Dec-04 19:54 

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.