How to make return value optional for a method,if possible ?
- by Harikrishna
I have a method private static DataTable ParseTable(HtmlNode table) and sometimes this method has no return value then I want to make return value optional, is it possible ?
I have tried with if condition.But there is error.
How can I make return value optional for the method if possible ?