Environment versions
Network:
Windows 2008 Server
>Hi All,
>
>VFP describes Collection.Remove method as
>Use to remove a member object from a collection.
>
>.NET describes a similar Collection(Of T).RemoveAt method as
>Removes the element at the specified index of the Collection(Of T).
>
>Notice indefinite articles in the first case, and definite ones in the second -- e.g. "a collection" vs "the Collection".
>
>My three questions:
>- are they both correct ?
>- which one is preferable ?
>- should I bother ?
>
>Thank you!
The .NET function is RemoveAt whereas the VFP function is just .Remove. The "At" indicates an explicit position so the wording reflects that. The "Remove" function by itself indicates only the ability to remove which, based on the given information, then becomes an explicit entry to remove.
Both are correct. :-)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only