Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
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 
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 
This works :
static void Conv (BaseEntity baseEntity)
        {
            baseEntity.id = "b"; //your code here
        }


Invoke like this :
listChild.ForEach(Conv);


It doesn't use a list. Your problem with List<T> is that it won't cast to another type.
QuestionHow to handle the localization stuff in Crystal reports XI. Pin
idreesbadshah28-Feb-10 19:23
idreesbadshah28-Feb-10 19:23 
QuestionC# and XML [modified] Pin
picasso228-Feb-10 18:16
picasso228-Feb-10 18:16 
AnswerRe: C# and XML Pin
Mycroft Holmes28-Feb-10 18:48
professionalMycroft Holmes28-Feb-10 18:48 
GeneralRe: C# and XML Pin
picasso21-Mar-10 16:40
picasso21-Mar-10 16:40 
AnswerRe: C# and XML Pin
Saksida Bojan28-Feb-10 19:03
Saksida Bojan28-Feb-10 19:03 
QuestionSave a variable Pin
suprsnipes28-Feb-10 15:15
suprsnipes28-Feb-10 15:15 
AnswerRe: Save a variable Pin
DaveyM6928-Feb-10 15:28
professionalDaveyM6928-Feb-10 15:28 
GeneralRe: Save a variable Pin
suprsnipes28-Feb-10 16:07
suprsnipes28-Feb-10 16:07 
GeneralRe: Save a variable Pin
PIEBALDconsult28-Feb-10 16:10
mvePIEBALDconsult28-Feb-10 16:10 
GeneralRe: Save a variable Pin
suprsnipes28-Feb-10 16:14
suprsnipes28-Feb-10 16:14 
GeneralRe: Save a variable Pin
Mycroft Holmes28-Feb-10 16:58
professionalMycroft Holmes28-Feb-10 16:58 
QuestionC# Times Pin
Illegal Operation28-Feb-10 12:19
Illegal Operation28-Feb-10 12:19 
AnswerRe: C# Times Pin
Luc Pattyn28-Feb-10 12:33
sitebuilderLuc Pattyn28-Feb-10 12:33 
AnswerRe: C# Times Pin
David Skelly28-Feb-10 22:27
David Skelly28-Feb-10 22:27 
Questionmove a file from one directory to another Pin
Yustme28-Feb-10 12:15
Yustme28-Feb-10 12:15 
AnswerRe: move a file from one directory to another Pin
Luc Pattyn28-Feb-10 12:34
sitebuilderLuc Pattyn28-Feb-10 12:34 
GeneralRe: move a file from one directory to another Pin
Yustme28-Feb-10 12:57
Yustme28-Feb-10 12:57 

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.