c# try-catch vs trypharse | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

c# try-catch vs trypharse

could someone explain me why NOT to use try- catch in a static double subprogram with a double return. in the subprogram is a converttodouble readline. i want to make sure that only doubles are allowed as input. try-catch works but some told me its hacky

29th Oct 2017, 4:45 AM
bryan kon
bryan kon - avatar
0 Answers