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: 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: Index |
last post by:
Hi,
I have a file which I want to sort depending on multiple columns.
Actually I want to implement the following query through programming:
SELECT SUM(VALUES) GROUP BY x,y ORDER BY x,y;
the...
|
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: Steph |
last post by:
Hello,
i dot not manage to write the code to sort a array on multiple columns.
ArrayList people = new ArrayList();
people.Add(new Person("John", "Doe", 76));
people.Add(new Person("Matt", "Dire",...
|
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: John Devlon |
last post by:
Hi everyone,
With this post I would like to ask you all a small question.
I'm trying to sort an array of objects using IComparable. Adding below
displayed code to a class and triggering the...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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: 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: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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: 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...
|