Geeks With Blogs
Hannes Pavelka It isn't rocket science. Well, unless of course you're NASA

Even though this is probably obvious I had to look it up today.

Declaring a property on interface in c# works like this:

public interface IFoo
{
   string Value { get; set; }
}

 

Posted on Wednesday, November 2, 2005 8:46 AM Misc | Back to top


Comments on this post: Declaring Properties on interfaces

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


Copyright © Hannes Pavelka | Powered by: GeeksWithBlogs.net