Click here to Skip to main content
15,889,034 members
Home / Discussions / C#
   

C#

 
QuestionSend smily icons in Email Pin
Dipan Patel From Gandhinagar4-Apr-07 0:53
Dipan Patel From Gandhinagar4-Apr-07 0:53 
AnswerRe: Send smily icons in Email Pin
Christian Graus4-Apr-07 1:29
protectorChristian Graus4-Apr-07 1:29 
QuestionHow to sort arraylist ? Pin
Saikek4-Apr-07 0:48
Saikek4-Apr-07 0:48 
AnswerRe: How to sort arraylist ? Pin
rah_sin4-Apr-07 0:57
professionalrah_sin4-Apr-07 0:57 
AnswerRe: How to sort arraylist ? Pin
Christian Graus4-Apr-07 1:00
protectorChristian Graus4-Apr-07 1:00 
GeneralRe: How to sort arraylist ? Pin
DavidNohejl4-Apr-07 1:57
DavidNohejl4-Apr-07 1:57 
GeneralRe: How to sort arraylist ? Pin
Martin#4-Apr-07 1:09
Martin#4-Apr-07 1:09 
AnswerRe: How to sort arraylist ? Pin
DavidNohejl4-Apr-07 1:52
DavidNohejl4-Apr-07 1:52 
As others said, if you are using .NET 2.0 use generic collection (List<A>). As for sorting, you probably mean sorting by field int 'a'? As you dont expose anything (a,b is private) you could implement IComparable. Or if you can expose sorting field, custom implementation of IComparer that knows how to sort class A (e.g. A.SortByFieldAComparer). Look up appropriate interfaces in MSDN or google.


"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

GeneralRe: How to sort arraylist ? Pin
Martin#4-Apr-07 2:11
Martin#4-Apr-07 2:11 
GeneralRe: How to sort arraylist ? Pin
DavidNohejl4-Apr-07 21:44
DavidNohejl4-Apr-07 21:44 
GeneralRe: How to sort arraylist ? Pin
Martin#4-Apr-07 22:12
Martin#4-Apr-07 22:12 
GeneralRe: How to sort arraylist ? Pin
DavidNohejl4-Apr-07 23:06
DavidNohejl4-Apr-07 23:06 
GeneralRe: How to sort arraylist ? Pin
Martin#4-Apr-07 23:09
Martin#4-Apr-07 23:09 
QuestionSoftware live update help needed Pin
pashitech4-Apr-07 0:35
pashitech4-Apr-07 0:35 
AnswerRe: Software live update help needed Pin
Christian Graus4-Apr-07 0:54
protectorChristian Graus4-Apr-07 0:54 
GeneralRe: Software live update help needed [modified] Pin
pashitech4-Apr-07 1:02
pashitech4-Apr-07 1:02 
GeneralRe: Software live update help needed Pin
Not Active4-Apr-07 3:23
mentorNot Active4-Apr-07 3:23 
QuestionHow ToExecute DTS using C#.Net Code behind ?[modified] Pin
SrinivasanPrabakaran4-Apr-07 0:35
SrinivasanPrabakaran4-Apr-07 0:35 
Questionproblem. Pin
amaneet4-Apr-07 0:27
amaneet4-Apr-07 0:27 
AnswerRe: problem. Pin
Christian Graus4-Apr-07 0:38
protectorChristian Graus4-Apr-07 0:38 
GeneralDifference between protected and internal protected Pin
amaneet4-Apr-07 0:45
amaneet4-Apr-07 0:45 
GeneralRe: Difference between protected and internal protected Pin
Sathesh Sakthivel4-Apr-07 1:00
Sathesh Sakthivel4-Apr-07 1:00 
AnswerRe: problem. Pin
Hayder Marzouk4-Apr-07 2:52
Hayder Marzouk4-Apr-07 2:52 
QuestionAdding .dll file to C#.NET 2005 application ? Pin
Software_Specialist4-Apr-07 0:17
Software_Specialist4-Apr-07 0:17 
AnswerRe: Adding .dll file to C#.NET 2005 application ? Pin
Christian Graus4-Apr-07 0:37
protectorChristian Graus4-Apr-07 0:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.