Geeks With Blogs
Jan Schepens Software Developer September 2008 Entries
Never underestimate the power of parameter order
Recently, I ran into an interesting situation the client caller of a WCF service method had adjusted his proxy class and for some reason the order of two parameters were switched. So let's say I have a method with a boolean parameter and an integer parameter as in X(bool b, int i) In this case the proxy was changed to X(int i, bool b) Now this is where it gets interesting. There is no error whatsoever on execution of the method. When debugging, the method was entered and executed without any trouble. ......

Posted On Monday, September 29, 2008 1:05 PM

Copyright © Jan Schepens | Powered by: GeeksWithBlogs.net | Join free