Skip to content

Instantly share code, notes, and snippets.

@samuelsherrer
Created December 8, 2018 13:19
Show Gist options
  • Save samuelsherrer/d7f78b7290319733b5abea4d244e8a8c to your computer and use it in GitHub Desktop.
Save samuelsherrer/d7f78b7290319733b5abea4d244e8a8c to your computer and use it in GitHub Desktop.
class Program
{
static void Main(string[] args)
{
var a = new InstanceResponse("");
}
public class Response<T> where T : class
{
public bool Result;
public T Data;
}
public sealed class Instance
{
public long Rank { get; set; }
public int ID_Member { get; set; }
}
public sealed class InstanceResponse : Response<IList<Instance>>
{
public InstanceResponse(string JsonString)
{
Console.WriteLine("Hello World!");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment