KoenV

Browse by Tags

All Tags » C# (RSS)
Exceptional exception handling
My (much more productive) colleague Davy beat me to post this problem we had today at work, so I'm gonna be lazy and link to him (and steal his title). Btw yesterday we applied this "solution" to one of our biggest projects and -hooray- it worked...
Operator overloading and testing for null
Operator overloading in C# is basically writing a public static method, like this: public static bool operator ==( CustomObject object1, CustomObject object2) { return object1.SomeProperty == object2.SomeProperty; } Before you do this, it is necessary...
Posted: Jan 25 2008, 12:54 AM by koevoeter | with 1 comment(s)
Filed under:
More Posts