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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -