C#C
C#3y ago
Novruz

❔ Basket List<Product> issue

I got 2 different error here. One is Value cannot be null. Parameter name: source.

Another one is object reference not set to an instance of an object.

They dont happen at the same time. When I fix one, other happens. I think it s from basket.Products.Add(product); but I couldnt fix it
Screenshot_2023-08-18_161008.png
Screenshot_2023-08-18_161000.png
Screenshot_2023-08-18_160951.png
Screenshot_2023-08-18_160942.png
Was this page helpful?