Useless function
-
A common one in this forum is functions used that don't actually do anything. Well here is one I have just found too... public static bool ToBoolean(bool value); ...forget where I seen this now :laugh: (no wonder it is seen so often, people obviously read too much documentation lol) PS. I am assuming most no exactly where I found this Convertion function
return 5;
-
A common one in this forum is functions used that don't actually do anything. Well here is one I have just found too... public static bool ToBoolean(bool value); ...forget where I seen this now :laugh: (no wonder it is seen so often, people obviously read too much documentation lol) PS. I am assuming most no exactly where I found this Convertion function
return 5;
-
A common one in this forum is functions used that don't actually do anything. Well here is one I have just found too... public static bool ToBoolean(bool value); ...forget where I seen this now :laugh: (no wonder it is seen so often, people obviously read too much documentation lol) PS. I am assuming most no exactly where I found this Convertion function
return 5;
-
A common one in this forum is functions used that don't actually do anything. Well here is one I have just found too... public static bool ToBoolean(bool value); ...forget where I seen this now :laugh: (no wonder it is seen so often, people obviously read too much documentation lol) PS. I am assuming most no exactly where I found this Convertion function
return 5;
For those who desperately need self-validation.
I wasn't, now I am, then I won't be anymore.
-
-
Actually very handy if you are passing a object type which has an underlying value of type bool. Good code should always be strongly typed but maybe when dealing with COM objects, this overloaded method could be handy.