Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: text editor Pin
Sebastian T Xavier11-Jul-07 1:13
Sebastian T Xavier11-Jul-07 1:13 
AnswerRe: text editor Pin
mav.northwind11-Jul-07 8:45
mav.northwind11-Jul-07 8:45 
Questionhelp with strange bug re Activator.CreateInstance Pin
s0ren10-Jul-07 21:54
s0ren10-Jul-07 21:54 
AnswerRe: help with strange bug re Activator.CreateInstance Pin
Vikram A Punathambekar10-Jul-07 22:10
Vikram A Punathambekar10-Jul-07 22:10 
GeneralRe: help with strange bug re Activator.CreateInstance Pin
s0ren10-Jul-07 22:18
s0ren10-Jul-07 22:18 
GeneralRe: help with strange bug re Activator.CreateInstance Pin
Vikram A Punathambekar10-Jul-07 22:25
Vikram A Punathambekar10-Jul-07 22:25 
AnswerRe: help with strange bug re Activator.CreateInstance [solved] Pin
s0ren10-Jul-07 22:37
s0ren10-Jul-07 22:37 
GeneralRe: help with strange bug re Activator.CreateInstance [solved] Pin
Vikram A Punathambekar10-Jul-07 22:47
Vikram A Punathambekar10-Jul-07 22:47 
QuestionArrayList -> SortedList -> SortedList. Right ? Pin
Saikek10-Jul-07 21:49
Saikek10-Jul-07 21:49 
AnswerRe: ArrayList -> SortedList -> SortedList. Right ? Pin
Vikram A Punathambekar10-Jul-07 21:57
Vikram A Punathambekar10-Jul-07 21:57 
GeneralWhat do you mean ? Pin
Saikek10-Jul-07 22:04
Saikek10-Jul-07 22:04 
GeneralRe: What do you mean ? Pin
Vikram A Punathambekar10-Jul-07 22:19
Vikram A Punathambekar10-Jul-07 22:19 
GeneralRe: What do you mean ? Pin
Saikek10-Jul-07 22:28
Saikek10-Jul-07 22:28 
GeneralRe: What do you mean ? Pin
Vikram A Punathambekar10-Jul-07 22:33
Vikram A Punathambekar10-Jul-07 22:33 
GeneralRe: What do you mean ? Pin
J4amieC11-Jul-07 0:17
J4amieC11-Jul-07 0:17 
GeneralRe: What do you mean ? Pin
Sathesh Sakthivel11-Jul-07 0:21
Sathesh Sakthivel11-Jul-07 0:21 
QuestionHow to hold up some key on the keyset? Pin
jason_mf10-Jul-07 21:45
jason_mf10-Jul-07 21:45 
AnswerRe: How to hold up some key on the keyset? Pin
Martin#10-Jul-07 22:09
Martin#10-Jul-07 22:09 
GeneralRe: How to hold up some key on the keyset? Pin
jason_mf10-Jul-07 22:49
jason_mf10-Jul-07 22:49 
GeneralRe: How to hold up some key on the keyset? Pin
Martin#10-Jul-07 23:32
Martin#10-Jul-07 23:32 
GeneralRe: How to hold up some key on the keyset? Pin
Martin#10-Jul-07 23:40
Martin#10-Jul-07 23:40 
QuestionHow to detect IIS contains a server certificate? Pin
fujitsubo10-Jul-07 21:37
fujitsubo10-Jul-07 21:37 
QuestionSearching through an ArrayList Pin
Darkness8410-Jul-07 21:10
Darkness8410-Jul-07 21:10 
I have an arraylist that contains objects who themselves contain multiple properties. I would like to know is there are faster way than using a for loop to search through an arraylist to find the object whose certain property matches what I am looking for. An example of what I am currently doing is listed below.

for(int p = 0; p < SupplierItemDataStore.Count; p++)
{
if(stock.Code == ((XMLDefs.SupplierItem.SupplierItem)SupplierItemDataStore[p]).StockCode)
{
{
//Do stuff here
}
}
}

where stock is the object that is passed in and SupplierItemDataStore contains over 31,000 items.
AnswerRe: Searching through an ArrayList Pin
Michael Sync10-Jul-07 21:29
Michael Sync10-Jul-07 21:29 
AnswerRe: Searching through an ArrayList Pin
Guffa10-Jul-07 21:49
Guffa10-Jul-07 21:49 

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.