Can anyone tell me how to enable CLI is VS2010. I cannot use the directive #using without doing that.
What you are asking does not quite make sense, can you clarify? What are you trying to achieve?
my apologies, after google-ing for a bit, I found it.
Project -->Properties-->Configuration Properties-->General-->Common Language Runtime Support.
Project -> General -> Common Language Runtime Support and set to enabled (/clr switch)