Can a non-null property have a nullable field?
# announcements
k
Can a non-null property have a nullable field?
t
property and field are synonymous in my world - can you rephrase the question? 😄
k
sorry, i meant the backing field
Or should i just add my own private var?
g
yes, just create backing field
k
Now i'm having issues with invariance
ugh why did i add that in the first place
Oh, forgot to make it private: facepalm
if the setter is private; should that also allow variance
s
It cany have