oop - How to create a c# class that gives you usage like: ClassName.Property.Subproperty -
I want to create a square so that I can use it like this:
Website Urls.User.Edit Website.Urls.User.Add website.Urls.Content.List
How can I do this in C #? (They return the string)
public class UserClass {edit public string {get; Set; } Add a public string {get; Set;}} public class UrlsClass {public user class user {get; Set;}} Public Square Website {Public UrlsClass Urls {get; Set;}}
What do you need for it?
Comments
Post a Comment