using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MontoyaTech.Rest.Net.Example { public class Client { public string BaseUrl = null; public TestFunctions Test; public class TestFunctions { public Client Client; public TestFunctions(Client client) { this.Client = client; } public void Status() { } public void Add() { } public void Signup() { } public void Json() { } } public Client(string baseUrl) { this.BaseUrl = baseUrl; this.Test = new TestFunctions(this); } } }