@Dreamora
Object reference! Thank you! That was the word I was looking for.
@Falken, Robert, Wave.
Yeah, but what you are saying is what I already did in the second example in the original post. So the question is not how to solve it. I know that. The point Í'm making is that a field or variable name can not be the same as the name of a type.
Object reference! Thank you! That was the word I was looking for.
@Falken, Robert, Wave.
Yeah, but what you are saying is what I already did in the second example in the original post. So the question is not how to solve it. I know that. The point Í'm making is that a field or variable name can not be the same as the name of a type.