I have problems debugging an old c# application. Compiling and executing give me errors as below:
public partial class Employes
{
public string nom { get; set; }
public string prenom { get; set; }
public string FullName => $"{nom} {prenom}"; //Error here
public Employes()
{
this.inscriptions = new HashSet<inscriptions>();
this.Participants = new HashSet<Participants>();
this.Roles = new HashSet<Roles>();
}
}
Compiling error:
**; expected
$ unexpected**