Click here to Skip to main content
15,843,623 members
Home / Discussions / C#
   

C#

 
Questioncant play sound from source using MediaElement Pin
igalep13215-Jan-11 13:10
igalep13215-Jan-11 13:10 
AnswerRe: cant play sound from source using MediaElement [modified] Pin
RaviRanjanKr15-Jan-11 19:23
professionalRaviRanjanKr15-Jan-11 19:23 
GeneralRe: cant play sound from source using MediaElement Pin
igalep13216-Jan-11 12:16
igalep13216-Jan-11 12:16 
GeneralRe: cant play sound from source using MediaElement Pin
RaviRanjanKr16-Jan-11 18:57
professionalRaviRanjanKr16-Jan-11 18:57 
QuestionDo people know about LINQ expression trees for super fast reflection? Pin
SledgeHammer0115-Jan-11 10:15
SledgeHammer0115-Jan-11 10:15 
AnswerRe: Do people know about LINQ expression trees for super fast reflection? PinPopular
Pete O'Hanlon15-Jan-11 11:26
subeditorPete O'Hanlon15-Jan-11 11:26 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? Pin
SledgeHammer0115-Jan-11 12:23
SledgeHammer0115-Jan-11 12:23 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? Pin
N a v a n e e t h16-Jan-11 5:51
N a v a n e e t h16-Jan-11 5:51 
Pete O'Hanlon wrote:
Primarily because they are poorly understood,


May be, but that won't be the primary reason. Primary reason could be that expression trees can be compiled which gets translated into IL opcodes. This is way faster than reflection looking for a method and invoking it. If the method signature is known at compile time, converting reflection's MethodInfo to a strongly typed delegate will also improve the performance.

Smile | :)
Best wishes,
Navaneeth

GeneralRe: Do people know about LINQ expression trees for super fast reflection? Pin
Pete O'Hanlon16-Jan-11 6:06
subeditorPete O'Hanlon16-Jan-11 6:06 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? Pin
N a v a n e e t h16-Jan-11 6:15
N a v a n e e t h16-Jan-11 6:15 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? Pin
Pete O'Hanlon16-Jan-11 10:12
subeditorPete O'Hanlon16-Jan-11 10:12 
AnswerAll of this post is plagiarised (except for the smiley...) Pin
Keith Barrow15-Jan-11 12:24
professionalKeith Barrow15-Jan-11 12:24 
AnswerRe: Do people know about LINQ expression trees for super fast reflection? Pin
PIEBALDconsult15-Jan-11 15:10
mvePIEBALDconsult15-Jan-11 15:10 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? [modified] Pin
SledgeHammer0115-Jan-11 16:16
SledgeHammer0115-Jan-11 16:16 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? Pin
SledgeHammer0115-Jan-11 16:22
SledgeHammer0115-Jan-11 16:22 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? Pin
PIEBALDconsult16-Jan-11 6:11
mvePIEBALDconsult16-Jan-11 6:11 
AnswerRe: Do people know about LINQ expression trees for super fast reflection? Pin
Dan Mos16-Jan-11 4:00
Dan Mos16-Jan-11 4:00 
AnswerRe: Do people know about LINQ expression trees for super fast reflection? Pin
N a v a n e e t h16-Jan-11 6:14
N a v a n e e t h16-Jan-11 6:14 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? Pin
SledgeHammer0116-Jan-11 8:14
SledgeHammer0116-Jan-11 8:14 
AnswerRe: Do people know about LINQ expression trees for super fast reflection? Pin
jschell17-Jan-11 9:22
jschell17-Jan-11 9:22 
GeneralRe: Do people know about LINQ expression trees for super fast reflection? [modified] Pin
SledgeHammer0118-Jan-11 5:55
SledgeHammer0118-Jan-11 5:55 
Questionhow to convert php code into c sharp code Pin
gsmfather15-Jan-11 9:08
gsmfather15-Jan-11 9:08 
AnswerRe: how to convert php code into c sharp code Pin
dan!sh 15-Jan-11 9:26
professional dan!sh 15-Jan-11 9:26 
AnswerRe: how to convert php code into c sharp code Pin
fjdiewornncalwe15-Jan-11 10:28
professionalfjdiewornncalwe15-Jan-11 10:28 
QuestionC# versus C++, null references and protecting against them Pin
bob1697214-Jan-11 9:48
bob1697214-Jan-11 9:48 

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.