C# How to check if string is a namespace

Posted by Darmak on Stack Overflow See other posts from Stack Overflow or by Darmak
Published on 2010-04-09T09:34:27Z Indexed on 2010/04/09 9:43 UTC
Read the original article Hit count: 242

Filed under:
|

Hi, I have a string and I want to check if it represents a proper namespace, eg. System.IO is ok, but System.Lol is not.

I guess some reflection should be used, but I can't figure this out.

Any thoughts?

© Stack Overflow or respective owner

Related posts about c#

Related posts about namespace