Click here to Skip to main content
15,914,924 members
Home / Discussions / C#
   

C#

 
GeneralRe: Error in DataContractSerializer class Pin
Dave Kreskowiak18-Oct-11 1:35
mveDave Kreskowiak18-Oct-11 1:35 
QuestionBug in .Net 2.0's ArrayList.Clone? Pin
Firo Atrum Ventus17-Oct-11 16:34
Firo Atrum Ventus17-Oct-11 16:34 
AnswerRe: Bug in .Net 2.0's ArrayList.Clone? Pin
Luc Pattyn17-Oct-11 16:52
sitebuilderLuc Pattyn17-Oct-11 16:52 
GeneralRe: Bug in .Net 2.0's ArrayList.Clone? Pin
Firo Atrum Ventus17-Oct-11 16:57
Firo Atrum Ventus17-Oct-11 16:57 
GeneralRe: Bug in .Net 2.0's ArrayList.Clone? Pin
Mycroft Holmes17-Oct-11 17:43
professionalMycroft Holmes17-Oct-11 17:43 
GeneralRe: Bug in .Net 2.0's ArrayList.Clone? Pin
Luc Pattyn17-Oct-11 17:49
sitebuilderLuc Pattyn17-Oct-11 17:49 
GeneralRe: Bug in .Net 2.0's ArrayList.Clone? Pin
Firo Atrum Ventus17-Oct-11 18:14
Firo Atrum Ventus17-Oct-11 18:14 
AnswerRe: Bug in .Net 2.0's ArrayList.Clone? Pin
BobJanova17-Oct-11 23:31
BobJanova17-Oct-11 23:31 
As an aside, you should be using List<int>, List<List<ShipObject>> and List<ShipObject> here. Generics are good and make your life better. Though I wouldn't be sure that would solve this issue.

Are you updating that collection from another thread? If the size is different when it allocates the clone to when it actually does the copy, something like that might happen. I'm not sure Clone is a thread safe operation.
GeneralRe: Bug in .Net 2.0's ArrayList.Clone? Pin
Firo Atrum Ventus18-Oct-11 15:31
Firo Atrum Ventus18-Oct-11 15:31 
GeneralRe: Bug in .Net 2.0's ArrayList.Clone? Pin
BobJanova18-Oct-11 22:43
BobJanova18-Oct-11 22:43 
GeneralRe: Bug in .Net 2.0's ArrayList.Clone? Pin
Firo Atrum Ventus18-Oct-11 23:14
Firo Atrum Ventus18-Oct-11 23:14 
GeneralRe: Bug in .Net 2.0's ArrayList.Clone? Pin
BobJanova19-Oct-11 2:40
BobJanova19-Oct-11 2:40 
QuestionHow do you define a default html in silverlight? Pin
Xarzu17-Oct-11 9:38
Xarzu17-Oct-11 9:38 
AnswerRe: How do you define a default html in silverlight? Pin
Mark Salsbery17-Oct-11 14:07
Mark Salsbery17-Oct-11 14:07 
QuestionIs this safe Pin
Mide5517-Oct-11 1:58
Mide5517-Oct-11 1:58 
QuestionRe: Is this safe Pin
Yuri Vital17-Oct-11 2:05
Yuri Vital17-Oct-11 2:05 
AnswerRe: Is this safe Pin
Mide5517-Oct-11 2:09
Mide5517-Oct-11 2:09 
GeneralRe: Is this safe Pin
harold aptroot17-Oct-11 2:22
harold aptroot17-Oct-11 2:22 
GeneralRe: Is this safe Pin
Mide5517-Oct-11 2:32
Mide5517-Oct-11 2:32 
GeneralRe: Is this safe Pin
harold aptroot17-Oct-11 3:23
harold aptroot17-Oct-11 3:23 
AnswerRe: Is this safe Pin
Luc Pattyn17-Oct-11 6:35
sitebuilderLuc Pattyn17-Oct-11 6:35 
GeneralRe: Is this safe Pin
harold aptroot17-Oct-11 7:40
harold aptroot17-Oct-11 7:40 
GeneralRe: Is this safe Pin
Luc Pattyn17-Oct-11 7:54
sitebuilderLuc Pattyn17-Oct-11 7:54 
GeneralRe: Is this safe Pin
harold aptroot17-Oct-11 8:09
harold aptroot17-Oct-11 8:09 
QuestionTreeview in c#.net Pin
sudheesh kumar s17-Oct-11 0:55
sudheesh kumar s17-Oct-11 0:55 

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.