Vote count:
0
I am trying to apply 2 functions like so,
public override string ToString(){ return id.ToString(); }
public override string ToString(){ return order.ToString(); }
and I get this error,
already defines a member called tostring with the same parameter types
is there away I can return two values in 1 ToString override ?
asked 23 secs ago
ASP.NET multiple public override string ToString()
Aucun commentaire:
Enregistrer un commentaire