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

C#

 
AnswerRe: how to open all *.xml files on my computer by my C# program ? Pin
#realJSOP20-Apr-11 10:04
mve#realJSOP20-Apr-11 10:04 
GeneralRe: how to open all *.xml files on my computer by my C# program ? Pin
DaveyM6920-Apr-11 10:47
professionalDaveyM6920-Apr-11 10:47 
AnswerRe: how to open all *.xml files on my computer by my C# program ? Pin
Tarakeshwar Reddy20-Apr-11 12:33
professionalTarakeshwar Reddy20-Apr-11 12:33 
AnswerRe: how to open all *.xml files on my computer by my C# program ? Pin
Prasanta_Prince20-Apr-11 21:35
Prasanta_Prince20-Apr-11 21:35 
QuestionHow do I go about recording a playlist to stream to a large mp3? Pin
roman_s20-Apr-11 8:50
roman_s20-Apr-11 8:50 
QuestionAnyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM20-Apr-11 6:27
DaleDaleM20-Apr-11 6:27 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
Not Active20-Apr-11 6:36
mentorNot Active20-Apr-11 6:36 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
SledgeHammer0120-Apr-11 7:48
SledgeHammer0120-Apr-11 7:48 
You would either need to do it on the source code itself using the C# parser or do it after the fact on the binary using reflection, etc.

In reality though, its impossible to cover all the cases. There are lots of different ways to call a method that you would be hard pressed to pick up on using either the C# parser or reflection. I.e., I can call it directly, through a delegate, through reflection, through expression trees, through a lamba expression, etc.

Your best bet to be completely fool proof is to have a check in the method itself.
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 3:30
DaleDaleM19-May-11 3:30 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
SledgeHammer0119-May-11 4:37
SledgeHammer0119-May-11 4:37 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 4:41
DaleDaleM19-May-11 4:41 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
Ennis Ray Lynch, Jr.20-Apr-11 8:15
Ennis Ray Lynch, Jr.20-Apr-11 8:15 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 3:42
DaleDaleM19-May-11 3:42 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
AspDotNetDev20-Apr-11 9:25
protectorAspDotNetDev20-Apr-11 9:25 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
BobJanova20-Apr-11 23:32
BobJanova20-Apr-11 23:32 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 3:36
DaleDaleM19-May-11 3:36 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
Luc Pattyn20-Apr-11 12:19
sitebuilderLuc Pattyn20-Apr-11 12:19 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 3:39
DaleDaleM19-May-11 3:39 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
Luc Pattyn19-May-11 3:57
sitebuilderLuc Pattyn19-May-11 3:57 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 4:10
DaleDaleM19-May-11 4:10 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
Luc Pattyn19-May-11 4:29
sitebuilderLuc Pattyn19-May-11 4:29 
QuestionVisual C# 2010 Express Pin
arkiboys20-Apr-11 5:10
arkiboys20-Apr-11 5:10 
AnswerRe: Visual C# 2010 Express Pin
#realJSOP20-Apr-11 5:23
mve#realJSOP20-Apr-11 5:23 
GeneralRe: Visual C# 2010 Express Pin
arkiboys20-Apr-11 11:50
arkiboys20-Apr-11 11:50 
Questionsaving items in the Listbox after adding /moving items from other Listbox/removing etc Pin
DivyaReddyM20-Apr-11 2:47
DivyaReddyM20-Apr-11 2:47 

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.