Geeks With Blogs
Ramesh Blog .NET Dash

If you want to write methods that are only available with conditional compiler arguments you can use an attribute just for that purpose:

[Conditional("DEBUG")]

Private void MyMethod()

{}

Posted on Wednesday, January 7, 2004 2:05 PM | Back to top


Comments on this post: The [Conditional] Attribute

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Ramesh Arimilli | Powered by: GeeksWithBlogs.net