Different Scoped Properties - Public getter and internal setter
I know you can do this
public String<T> Get { get; private set; }
The problem is I want the set method to开发者_C百科 be accessible from a different class within the same DLL (ie: internal)
Is this possible?
Yes, you can use any access modifier with either automatic property accessor:
public String<T> Get { get; internal set; }
精彩评论