If you don't understand an error message, google it:
cs0050 - Google Search[
^]
Th top hit takes to to the MS documentation for the error:
Compiler Error CS0050 | Microsoft Docs[
^]
Which says that the problem is due to !"inconsistent access" : you are trying to return or pass a value to a public method but the type is more restrictive.
It may be that the Artists class is
private
,
internal
,
protected
, or
protected internal
which would mean that although an external class could access the method, it can't access the return value of the property, so you get an error CS0050.
Start by using VS to replace your
var
values with explicit types: that way it's a lot easier to see exactly what classes you are dealing with, then trace them to find out the accessibility level.
Sorry, but we can't do any of that for you!