|
|
|
||||||
|
Nice to have: BinarySearch and Sort method on generated collections
hi,
in case sequence<> is generated with the meta tag ["cs:collection"] it would be nice to have the BinarySearch and Sort methods available. the generated code will look like: Code:
public int BinarySearch(C value)
{
return InnerList.BinarySearch(value);
}
public void Sort()
{
return InnerList.Sort();
}
thx & cu tom PS: adding the contructor with parameter ICollection c would help as well.
__________________
Thomas Müller, Freelance Software Developer My profil on www.freelancermap.de Projects depend on customers Last edited by DeepDiver : 09-27-2005 at 11:27 AM. |
|
||||||
|
hi michi,
thank you for adding this feature to the next release! i totally agree with you about the type safty issue. we will no longer have these troubles with .Net 2.0, when we can make use of generics. any plans on .Net 2.0 and generics? thx & take care, tom
__________________
Thomas Müller, Freelance Software Developer My profil on www.freelancermap.de Projects depend on customers |
|
||||||
|
Quote:
Cheers, Michi. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Asynchronous Method Invocation Samples | pradeep | Help Center | 1 | 11-23-2006 05:55 AM |
| NoObjectFactoryException for method-less class | borax00 | Help Center | 7 | 07-20-2006 06:07 AM |
| No ice_collocationOptimization method in python | wgwolf | Help Center | 5 | 12-06-2005 02:40 PM |
| Method tokens: strings vs. indices | JohnBates | Comments | 1 | 05-06-2003 08:44 PM |