using ref to view error
- by Avram
Hello.
I working now on firm that using ref in every function.
The reason, is to catch errors.
There example :
//return true if the read is success
//otherwise writing to the error ,the problem
bool ReadFile(ref string error)
Question:
How do you catching errors?
Using ref,exceptions or other way?