Click here to Skip to main content
15,896,540 members
Home / Discussions / C#
   

C#

 
AnswerRe: Programming processes in C# - concurrency Pin
J4amieC20-Jun-07 3:01
J4amieC20-Jun-07 3:01 
QuestionKey Press event of textbox Pin
Sapan Roy20-Jun-07 1:10
Sapan Roy20-Jun-07 1:10 
AnswerRe: Key Press event of textbox Pin
Martin#20-Jun-07 1:16
Martin#20-Jun-07 1:16 
QuestionString Concatenation Issue Pin
Brendan Vogt20-Jun-07 0:44
Brendan Vogt20-Jun-07 0:44 
AnswerRe: String Concatenation Issue Pin
Martin#20-Jun-07 0:51
Martin#20-Jun-07 0:51 
AnswerRe: String Concatenation Issue Pin
Sandeep Akhare20-Jun-07 0:59
Sandeep Akhare20-Jun-07 0:59 
Questionfile server Pin
sureshprabhu20-Jun-07 0:33
sureshprabhu20-Jun-07 0:33 
QuestionSerializing the same object instance twice... Pin
Shy Agam20-Jun-07 0:10
Shy Agam20-Jun-07 0:10 
Hello,

I have a collection of ITask (an interface I've created) objects.
References to these objets are duplicated.
They are kept in a second collection.
This second collection is a collection of categories.
Each category can contain child categories.
Each task can appear only in one category.
This means that every single ITask object in the ITask collection is somewhere inside the categories.
I'm using this implementation to allow the user to filter the ITask objects by categories, and by other means which are not relevant.

OK... Now I want the tasks to be "restored" when the program next runs, so I serialize and deserialize them... So far so good...
I want to serialize the collection of categories the user have created, and restore them too... I can serialize the categories collection as well, but what will happen to the ITask objects when I deserialize the categories?
Will they point to the same objects deserialized to the ITask collection?

Hope this is clear enough... Smile | :)

If you have any other ideas regarding how to better store the collections, I'd be more than happy to hear them. Smile | :)

Thanks in advance,
Shy.
AnswerRe: Serializing the same object instance twice... [modified] Pin
Martin#20-Jun-07 0:20
Martin#20-Jun-07 0:20 
AnswerRe: Serializing the same object instance twice... Pin
welbers20-Jun-07 0:29
welbers20-Jun-07 0:29 
AnswerRe: Serializing the same object instance twice... Pin
Shy Agam20-Jun-07 0:38
Shy Agam20-Jun-07 0:38 
Questionflicker free fast moving images Pin
wolf70719-Jun-07 23:53
wolf70719-Jun-07 23:53 
AnswerRe: flicker free fast moving images Pin
Martin#20-Jun-07 0:03
Martin#20-Jun-07 0:03 
QuestionCustomizing the grid columns Pin
minkinin19-Jun-07 23:23
minkinin19-Jun-07 23:23 
QuestionUse of trignometric func.??-----------help urgent Pin
Raza568019-Jun-07 23:17
Raza568019-Jun-07 23:17 
AnswerRe: Use of trignometric func.??-----------help urgent Pin
Giorgi Dalakishvili19-Jun-07 23:28
mentorGiorgi Dalakishvili19-Jun-07 23:28 
QuestionZooming in C# using opengl Pin
a_david12319-Jun-07 22:48
a_david12319-Jun-07 22:48 
AnswerRe: Zooming in C# using opengl Pin
a_david12325-Jun-07 20:35
a_david12325-Jun-07 20:35 
QuestionSocket Progamming using UDP Pin
ramdil19-Jun-07 22:31
ramdil19-Jun-07 22:31 
Questionhelp ... Pin
B.A19-Jun-07 22:17
B.A19-Jun-07 22:17 
Questionwindows service scheduler Pin
arkiboys19-Jun-07 22:04
arkiboys19-Jun-07 22:04 
AnswerRe: windows service scheduler Pin
Manas Bhardwaj19-Jun-07 22:10
professionalManas Bhardwaj19-Jun-07 22:10 
GeneralRe: windows service scheduler Pin
arkiboys19-Jun-07 22:31
arkiboys19-Jun-07 22:31 
GeneralRe: windows service scheduler Pin
Manas Bhardwaj19-Jun-07 22:35
professionalManas Bhardwaj19-Jun-07 22:35 
GeneralRe: windows service scheduler Pin
arkiboys19-Jun-07 22:37
arkiboys19-Jun-07 22: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.