Click here to Skip to main content
15,891,136 members
Home / Discussions / C#
   

C#

 
GeneralRe: Attaching C# project to running instance of the same project - Very Urgent Pin
Judah Gabriel Himango8-May-06 7:10
sponsorJudah Gabriel Himango8-May-06 7:10 
AnswerRe: Attaching C# project to running instance of the same project - Very Urgent Pin
leppie8-May-06 9:12
leppie8-May-06 9:12 
QuestionSerialization Exception Pin
sjdevo3gsr8-May-06 6:14
sjdevo3gsr8-May-06 6:14 
AnswerRe: Serialization Exception Pin
Judah Gabriel Himango8-May-06 6:37
sponsorJudah Gabriel Himango8-May-06 6:37 
AnswerRe: Serialization Exception Pin
sjdevo3gsr8-May-06 9:31
sjdevo3gsr8-May-06 9:31 
QuestionAnother Question about Reflection ! Pass-By-reference Problem !! Pin
User 20930738-May-06 5:48
User 20930738-May-06 5:48 
AnswerRe: Another Question about Reflection ! Pass-By-reference Problem !! Pin
Judah Gabriel Himango8-May-06 6:35
sponsorJudah Gabriel Himango8-May-06 6:35 
GeneralRe: Another Question about Reflection ! Pass-By-reference Problem !! Pin
User 20930738-May-06 21:12
User 20930738-May-06 21:12 
Dear Judah,
Thanx for your instant reply.I have another problem with pass-by-ref concept.I have two overloaded methods with the following signatures :

public int MyMethod(ref int intParam)
 {
   intParam += 100;
   return Math.Sin(intParam);
 }

public int MyMethod(int intParam)
 {
   intParam += 100;
   return Math.Sin(intParam);
 }


When I use typeof(MyClass).GetMethod("MyMethod"); ,System.Reflection.AmbiguousMatchException is throw !!

If I use
typeof(MyClass).GetMethod("MyMethod",new Type [] {typeof(int)});
The second overloaded method with the value parameter invokes.
How can I force the CLR to run the first method and pass the parameter to it by reference ?

Regards,
Xironix

[ _ Always there is another way _ ]

-- modified at 3:13 Tuesday 9th May, 2006
QuestionMajor performance hit when writing binary data to a com port. Pin
Dan Neely8-May-06 5:48
Dan Neely8-May-06 5:48 
AnswerRe: Major performance hit when writing binary data to a com port. Pin
Judah Gabriel Himango8-May-06 6:45
sponsorJudah Gabriel Himango8-May-06 6:45 
GeneralRe: Major performance hit when writing binary data to a com port. Pin
Dan Neely8-May-06 8:03
Dan Neely8-May-06 8:03 
GeneralRe: Major performance hit when writing binary data to a com port. Pin
Dan Neely8-May-06 9:23
Dan Neely8-May-06 9:23 
QuestionLoading SQL Server DataBases Into A combo Box Using C# Pin
NightAttack8-May-06 5:07
NightAttack8-May-06 5:07 
AnswerRe: Loading SQL Server DataBases Into A combo Box Using C# Pin
J4amieC8-May-06 5:17
J4amieC8-May-06 5:17 
Questiona simple question about forms ? Pin
cmpeng348-May-06 4:59
cmpeng348-May-06 4:59 
AnswerRe: a simple question about forms ? Pin
SoftcodeSoftware8-May-06 5:30
SoftcodeSoftware8-May-06 5:30 
AnswerRe: a simple question about forms ? Pin
Stefan Troschuetz8-May-06 5:52
Stefan Troschuetz8-May-06 5:52 
AnswerRe: a simple question about forms ? Pin
led mike8-May-06 6:07
led mike8-May-06 6:07 
Questionfeston Pin
saarkk8-May-06 4:58
saarkk8-May-06 4:58 
AnswerRe: feston Pin
Judah Gabriel Himango8-May-06 5:44
sponsorJudah Gabriel Himango8-May-06 5:44 
QuestionRe: feston Pin
saarkk8-May-06 6:05
saarkk8-May-06 6:05 
AnswerRe: feston Pin
Stefan Troschuetz8-May-06 6:47
Stefan Troschuetz8-May-06 6:47 
GeneralRe: feston Pin
saarkk8-May-06 7:02
saarkk8-May-06 7:02 
GeneralRe: feston Pin
Stefan Troschuetz8-May-06 7:48
Stefan Troschuetz8-May-06 7:48 
QuestionRe: feston Pin
saarkk8-May-06 9:31
saarkk8-May-06 9:31 

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.