Can we have some consistency applied to the language?
What I mean is that like they did with .NET, all string properties that were the text displayed, were renamed to "Text"
And all integer properties that were used to show the length or size, were changed to "Length"
I realise that these would be breaking changes, so can we have additional properties added to correct this deficiency (this time around), and sometime in the distant future you could remove the deprecated properties (maybe version 3.0?).
To assist people with this change, I would then put in the comments for the deprecated properties something like [DEPRECATED - Use 'Length' instead]
The benefits of this is the same as .NET - we wouldn't have to think "Oh, this type expects "Size" to tell me the number of elements it has, whereas this type needs "Length" to show me how long it is.
/End rant
Dave
What I mean is that like they did with .NET, all string properties that were the text displayed, were renamed to "Text"
And all integer properties that were used to show the length or size, were changed to "Length"
I realise that these would be breaking changes, so can we have additional properties added to correct this deficiency (this time around), and sometime in the distant future you could remove the deprecated properties (maybe version 3.0?).
To assist people with this change, I would then put in the comments for the deprecated properties something like [DEPRECATED - Use 'Length' instead]
The benefits of this is the same as .NET - we wouldn't have to think "Oh, this type expects "Size" to tell me the number of elements it has, whereas this type needs "Length" to show me how long it is.
/End rant
Dave