C
C#3y ago
Ash_

troubles with a simple list...

Hey, i've created - or at least tried to create a list with entries but it only saves "Warenspeichersystem.Artikel"... here's the code: https://pastebin.com/rrQ34eLR , what did i do wrong?
Pastebin
using System;using System.Collections.Generic;using System.IO;names...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
5 Replies
Brady Kelly
Brady Kelly3y ago
It would help a lot if you give explicit, technical details. You say it only saves Warenspeichersystem.Artikel yet you declare your list as public static List<Artikel> in the namespace Warenspeichersystem, so the list is only meant to save that type of object. Without actually setting up a project and running your code we can't tell what's wrong, and most of us have better things to do.
Ash_
Ash_OP3y ago
i didn't knew that, if you want to i'll go to a voice channel and stream my ide there i'm in #dev-vc-1
Brady Kelly
Brady Kelly3y ago
I prefer to just help you here, that way other people can also benefit from us finding a solution, plus I have a sore throat
Ash_
Ash_OP3y ago
i've got it, thanks anyways the problem was that i did not have a override
Brady Kelly
Brady Kelly3y ago
Aha, cool
Want results from more Discord servers?
Add your server