Created
December 8, 2018 13:19
-
-
Save samuelsherrer/d7f78b7290319733b5abea4d244e8a8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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