Wasabi2320
Wasabi2320
CC#
Created by Wasabi2320 on 6/4/2023 in #help
❔ Interface c#
6 replies
CC#
Created by Wasabi2320 on 5/7/2023 in #help
Trying to sort top 3 highscores, need help
I've made a list of highscores, but I'd like to sort out the top 3 ones. I've been looking at some tutorials but im still lost. I'd like some help
14 replies
CC#
Created by Wasabi2320 on 4/5/2023 in #help
❔ How do I add a textfile into my list
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Filhantering { class Bil { private string regNr; private string märke; private string modell; private string årsmodell; public string RegNr { get { return regNr; } set { regNr = value; } } public string Märke { get { return märke; } set { märke = value; } } public string Modell { get { return modell; } set { modell = value; } } public string Årsmodell { get { return årsmodell; } set { årsmodell = value; } } public Bil(string regNr1, string märke1, string modell1, string årsmodell1) { ; this.RegNr = regNr1; this.Märke = märke1; this.Modell = modell1; this.Årsmodell = årsmodell1; } public override string ToString() { return " " + this.regNr + " " + this.Märke + " " + this.Modell + " " + this.Årsmodell; } } }
25 replies