public static string BuildPath(params object[] paths) {
foreach(var path in paths) {
public struct Section { }
public static void GetGallery(Section? section = null, Sort? sort = null, Window? window = null, bool? showViral = null, int? page = null)
string uri = BuildPath("gallery", section, sort, window, showViral, page);
public static void Main()
GetGallery(new Section());
GetGallery(new Section(), new Sort());
GetGallery(new Section(), new Sort(), new Window());
GetGallery(new Section(), new Sort(), new Window(), false);
GetGallery(new Section(), new Sort(), new Window(), false, 1);
Console.WriteLine("Hello World");