namespace ReactionGame
{
public class Highscore
{
[JsonProperty]
public string Name { get; set; }
[JsonProperty]
public long Time { get; set; }
public override string ToString()
{
return Name + " - " + Time;
}
[JsonConstructor]
public Highscore(string name, long time)
{
Name = name;
Time = time;
}
}
}
namespace ReactionGame
{
public class Highscore
{
[JsonProperty]
public string Name { get; set; }
[JsonProperty]
public long Time { get; set; }
public override string ToString()
{
return Name + " - " + Time;
}
[JsonConstructor]
public Highscore(string name, long time)
{
Name = name;
Time = time;
}
}
}