I've just updated my Unity version from 5.5.2f1 to 5.6.1f1. Suddenly I get the error:
Feature `interpolated strings' cannot be used because it is not part of the C# 4.0 language specification
The code below worked well before updating.
public class SensorData
{
public int Timestamp { get; set; }
public float Humidity { get; set; }
public float Temp { get; set; }
public int Light { get; set; }
public int Button { get; set; }
public override string ToString()
{
return $"{Timestamp}, {Humidity}, {Temp}, {Light}, {Button}";
}
}
I don't have a clue if its supposed to still work.