How to make return value optional for a method,if possible ?

Posted by Harikrishna on Stack Overflow See other posts from Stack Overflow or by Harikrishna
Published on 2010-04-09T07:02:27Z Indexed on 2010/04/09 7:13 UTC
Read the original article Hit count: 433

Filed under:
|
|
|
|

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 ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET