I'm getting an error with a property for a list. It's saying the list is less accessible than the property.. I'm not sure why I am getting this error..
//List
private List<Client> clientList = new List<Client>();
//Property
public List<Client> ClientListAccessor
{
get
{
return clientList;
}
set
{
clientList = value;
}
}
Thanks in advance for any help.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…