![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
That's interesting. I've actually recently observed a condition where I had a method that was overloaded. For example. private void DoSomething(object o) { if (o is bool) { DoSomething((bool)o); } } private void DoSomething(bool b) { // do all the work in this method. } This actually "sometimes" resulted in recursion. (I typed the above code from memory, so if it isn't completly correct forgive me). I had to solve the issue by renaming the method that accepted the bool. I might be interested in the source of your program, but I'm too chicken to accept exe's Thanks, |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |