boki


Comments:

C# Bugs

posted by bokiboki(55) 5 years, 4 months ago 0

These are not, by any means, bugs in C# as they examine the behaviour of classes in the framework. And even then the two presented observation are not bugs but implementation details in Windows: The Clipboard example about the missing \r for newlines in RTF text is more about the RichTextBox and how it handles line breaks. RichTextBoxes do line breaks on the newline character '\n' only. The ListBox integral height setting is around since the first days of the LISTBOX class in Windows.

Reply

How to determine whether a property or a method is more appropriate

posted by bokiboki(55) 4 years, 7 months ago 0

Minor correction: System.Random.Next is not a property.

Discussing DateTime.Now is a rather moot, academic exercise as it follows "Use a property when the member is a logical data member" [1] ;)

-- bg

[1] http://msdn2.microsoft.com/en-us/library/bzwdh01d(VS.71).aspx#cpconpropertyusageguidelinesanchor1

Reply

NAnt GUI

posted by bokiboki(55) 4 years, 4 months ago 0

Hm, the 24 newly registered users to kick this story in about 1 hour leaves some stale taste in my mouth...

Reply