Click here to Skip to main content
15,905,867 members
Home / Discussions / C#
   

C#

 
GeneralRe: convert string to Binary File Pin
mohamed antar1-Mar-10 1:18
mohamed antar1-Mar-10 1:18 
GeneralMessage Closed Pin
1-Mar-10 1:29
stancrm1-Mar-10 1:29 
GeneralRe: convert string to Binary File Pin
mohamed antar1-Mar-10 6:33
mohamed antar1-Mar-10 6:33 
QuestionListView Label Edit help ? Pin
Nematjon Rahmanov28-Feb-10 23:03
Nematjon Rahmanov28-Feb-10 23:03 
AnswerRe: ListView Label Edit help ? Pin
Mycroft Holmes1-Mar-10 0:01
professionalMycroft Holmes1-Mar-10 0:01 
QuestionRe: ListView Label Edit help ? Pin
Nematjon Rahmanov1-Mar-10 0:42
Nematjon Rahmanov1-Mar-10 0:42 
AnswerRe: ListView Label Edit help ? Pin
Mycroft Holmes1-Mar-10 1:23
professionalMycroft Holmes1-Mar-10 1:23 
QuestionAbout ShellContextMenu Pin
so0_lanhlung228-Feb-10 22:23
so0_lanhlung228-Feb-10 22:23 
AnswerRe: About ShellContextMenu Pin
DaveyM6928-Feb-10 22:36
professionalDaveyM6928-Feb-10 22:36 
QuestionHow to show A Form in openfiledialog? Pin
Pawan Kiran28-Feb-10 21:51
Pawan Kiran28-Feb-10 21:51 
AnswerRe: How to show A Form in openfiledialog? Pin
Mycroft Holmes28-Feb-10 23:59
professionalMycroft Holmes28-Feb-10 23:59 
GeneralRe: How to show A Form in openfiledialog? Pin
OriginalGriff1-Mar-10 0:26
mveOriginalGriff1-Mar-10 0:26 
GeneralRe: How to show A Form in openfiledialog? Pin
Pawan Kiran1-Mar-10 3:58
Pawan Kiran1-Mar-10 3:58 
AnswerRe: How to show A Form in openfiledialog? Pin
OriginalGriff1-Mar-10 0:28
mveOriginalGriff1-Mar-10 0:28 
QuestionLocalisation Pin
gwithey28-Feb-10 21:17
gwithey28-Feb-10 21:17 
QuestionMessage Removed Pin
28-Feb-10 20:28
user20528-Feb-10 20:28 
AnswerRe: Marshalling embedded array of structure from c++ to c# gives error Any idea ? Pin
DaveyM6928-Feb-10 21:48
professionalDaveyM6928-Feb-10 21:48 
QuestionPassing any object type to a function Pin
sameercodes28-Feb-10 20:12
sameercodes28-Feb-10 20:12 
AnswerRe: Passing any object type to a function Pin
KarstenK28-Feb-10 21:31
mveKarstenK28-Feb-10 21:31 
GeneralRe: Passing any object type to a function Pin
sameercodes28-Feb-10 22:10
sameercodes28-Feb-10 22:10 
GeneralRe: Passing any object type to a function Pin
TheDudeJuan28-Feb-10 22:46
TheDudeJuan28-Feb-10 22:46 
GeneralRe: Passing any object type to a function Pin
sameercodes1-Mar-10 18:12
sameercodes1-Mar-10 18:12 
Hi Estys,
Thanks for the reply.

Actually the ChildEntity is just one example. The BaseEntity is a base class for many child entities, say ChildEntity1, ChildEntity2, ChildEntity3, etc.

Thus, the list could be of any of these types and certain convert actions need to be taken on the same.

Your solution seems to be great but if you take a look at the replies before, I have tried this and somehow this dint work.

I'll reconstruct the scenario again, in detail.

My ConvertList function belongs to a static class, say ListClassStatic

Thus I am calling the function as:

listChildList = ListClassStatic.ConvertList(ref listChildList);


Thanks and Regards
-
Sameer
AnswerRe: Passing any object type to a function Pin
Estys1-Mar-10 2:27
Estys1-Mar-10 2:27 
GeneralRe: Passing any object type to a function Pin
sameercodes1-Mar-10 18:05
sameercodes1-Mar-10 18:05 
GeneralRe: Passing any object type to a function Pin
Estys1-Mar-10 21:07
Estys1-Mar-10 21:07 

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.