i want some encapsulation problem
int num;
num=int.parse(Console.Readline());
here i have a problem if user enter a string i get encapsulation how can i solve it in easiest way
my friends told me some function of try() ..catch() but I don't understood it
Thanks Sergey