How to create a c# class that gives you usage like: ClassName.Property.Subproperty

Posted by Blankman on Stack Overflow See other posts from Stack Overflow or by Blankman
Published on 2010-06-14T21:04:35Z Indexed on 2010/06/14 21:12 UTC
Read the original article Hit count: 183

Filed under:
|

I want to create a class so I can use it like this:

Website.Urls.User.Edit
Website.Urls.User.Add

How can I do this in c#? (they will return strings)

© Stack Overflow or respective owner

Related posts about c#

Related posts about oop