by: Cybertof |
last post by:
Hello,
Could someone please explain me the difference between the 2 interfaces
IComparable and IComparer ?
In which cases use one or the other ?
Are they dedicated to own classes or built-in...
|
by: raffelm |
last post by:
In the first class below, I get an error that
AnotherClientBaseDataRecord does not implement
IComparable.CompareTo(object)...yet the second class below is
implemented identicially and it does get...
|
by: ESPNSTI |
last post by:
Hi,
I'm trying to use a generics dictionary with a key class that implements and
needs IComparable<>.
However when I attempt to use the dictionary, it doesn't appear to use the
IComparable<> to...
|
by: jw56578 |
last post by:
What is a good method to sort objects in an arraylist by more than 1
field.
|
by: Stefan L |
last post by:
Hi everybody,
when migrating to the .NET 2.0 framework we decided to encourage the use
of generic functions because they ought to run faster than their
equivalent object-implemantations.
Now...
|
by: ProjectNut |
last post by:
what is the syntax for implementing an interface in a generic class
that has a constrained base class
example:
class myclass<T>: mybase<T> where T: IComparable
{
}
Now, I want myclass<T>...
|
by: Brett Romero |
last post by:
What are the reasons to use one over the other?
SortedList implements IComparer.Compare(). Why would you also want to
create a SortedList class that implements IComparable.CompareTo()?
I know...
|
by: John Devlon |
last post by:
Hi,
Could somebody please tell me how to use Icomparable in a .NET project? Like
I was a 5 year old?
I'm trying to sort an array of objects and I can't get it to work .... How
do I modify the...
|
by: SimeonArgus |
last post by:
I need to sort a list of points, so I've considered using an
IComparable implementation. Should be easy, right? But I need to know
two things in the CompareTo function, not one.
Test1: I need to...
|
by: Samuel R. Neff |
last post by:
You can you program against generic interfaces generically?
For example, how can I make the following code which works for the
non-generic interface also work for the generic counterparts?
...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|