Lucid-Jarne
Lucid-Jarne
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
Is there a reason to use var? or is that just a personal preference?
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
Console app
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
Like starting lectures about it how it can be used to generate code for us
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
No it's just something from school to get us used to Entity core and stuff
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
static void OpvragenEvenementen()
{
using (SportContext db = new SportContext())
{
List<Evenement> evenementen = db.Evenementen.ToList();
evenementen.ForEach(x => x.);
}
}
static void OpvragenEvenementen()
{
using (SportContext db = new SportContext())
{
List<Evenement> evenementen = db.Evenementen.ToList();
evenementen.ForEach(x => x.);
}
}
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
?
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
Even a normal foreach loop?
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
So pretty much avoid the .ForEach()
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
Yea but is the performance not going to get improved in .net 9? My prof has been talking about the fact that some thing like a .first wil get 1000x improvement
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
Why?
50 replies
CC#
Created by Lucid-Jarne on 10/9/2024 in #help
✅ How to write this as a one liner?
No description
50 replies