Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular Expressions Pin
pmarfleet8-Mar-08 9:46
pmarfleet8-Mar-08 9:46 
GeneralRe: Regular Expressions Pin
Jammer9-Mar-08 1:06
Jammer9-Mar-08 1:06 
GeneralRe: Regular Expressions Pin
Jammer9-Mar-08 2:01
Jammer9-Mar-08 2:01 
GeneralSave an HtmlElement Image to a file Pin
Ehsan Baghaki8-Mar-08 4:32
Ehsan Baghaki8-Mar-08 4:32 
GeneralRe: Save an HtmlElement Image to a file Pin
Taha_u6-Apr-08 20:46
Taha_u6-Apr-08 20:46 
GeneralSorting a specific field in array list of structs Pin
eran malish8-Mar-08 3:18
eran malish8-Mar-08 3:18 
GeneralRe: Sorting a specific field in array list of structs Pin
Xmen Real 8-Mar-08 3:25
professional Xmen Real 8-Mar-08 3:25 
AnswerRe: Sorting a specific field in array list of structs Pin
Guffa8-Mar-08 6:08
Guffa8-Mar-08 6:08 
Instead of implementing IComparable for this, make a comparer class that implements IComparer. You can make one comparer class that can handle either of the fields in the data, or you can make one comparer specific for each field. To sort, you create an instance of the comparer class and use when you call the Sort method.

Unless you are stuck with framework 1.x, you should not use ArrayList at all. Also, unless you know exactly what you are doing, a class is a better choise than a struct. Given that you talk about a "struct class" (a contradition in terms), it seems like you should do some reading up before fiddling with structs... (No offence intended.)

Despite everything, the person most likely to be fooling you next is yourself.

Generalvarible naming Pin
Mabre of the Tadadas8-Mar-08 2:35
Mabre of the Tadadas8-Mar-08 2:35 
GeneralRe: varible naming Pin
DaveyM698-Mar-08 2:42
professionalDaveyM698-Mar-08 2:42 
GeneralRe: varible naming Pin
Mabre of the Tadadas8-Mar-08 2:45
Mabre of the Tadadas8-Mar-08 2:45 
GeneralRe: varible naming Pin
DaveyM698-Mar-08 5:53
professionalDaveyM698-Mar-08 5:53 
GeneralRe: varible naming Pin
Mabre of the Tadadas8-Mar-08 9:55
Mabre of the Tadadas8-Mar-08 9:55 
QuestionSelected Node in a treeview Pin
Krazy Programmer8-Mar-08 2:12
Krazy Programmer8-Mar-08 2:12 
GeneralRe: Selected Node in a treeview Pin
Xmen Real 8-Mar-08 3:18
professional Xmen Real 8-Mar-08 3:18 
GeneralRe: Selected Node in a treeview Pin
Krazy Programmer9-Mar-08 20:48
Krazy Programmer9-Mar-08 20:48 
GeneralRe: Selected Node in a treeview Pin
Xmen Real 9-Mar-08 23:12
professional Xmen Real 9-Mar-08 23:12 
Questionplaying mp3 file using c# Pin
achari.ravi7-Mar-08 23:28
achari.ravi7-Mar-08 23:28 
GeneralRe: playing mp3 file using c# Pin
Sathesh Sakthivel7-Mar-08 23:29
Sathesh Sakthivel7-Mar-08 23:29 
GeneralRe: playing mp3 file using c# Pin
Vasudevan Deepak Kumar11-Mar-08 1:03
Vasudevan Deepak Kumar11-Mar-08 1:03 
AnswerRe: playing mp3 file using c# Pin
achari.ravi8-Mar-08 0:25
achari.ravi8-Mar-08 0:25 
GeneralRe: playing mp3 file using c# Pin
Christian Graus8-Mar-08 11:14
protectorChristian Graus8-Mar-08 11:14 
QuestionRunning an application Pin
nike_arh7-Mar-08 23:02
nike_arh7-Mar-08 23:02 
GeneralRe: Running an application Pin
Christian Graus7-Mar-08 23:06
protectorChristian Graus7-Mar-08 23:06 
GeneralRe: Running an application Pin
nike_arh7-Mar-08 23:09
nike_arh7-Mar-08 23:09 

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.