What is internal set property in c#?

前端 未结 8 650
悲&欢浪女
悲&欢浪女 2021-02-01 01:01

I just came across an unknown concept of c# for me. Can anyone tell me what the purpose of an internal set property is? What is its use? I know internal keyword is used for work

8条回答
  •  迷失自我
    2021-02-01 01:13

    It means that the property can only be set by code that resides within the same assembly as the class delcaring the property.

提交回复
热议问题