What's the difference between a public constructor in an internal class and an internal constructor?

前端 未结 5 1626
礼貌的吻别
礼貌的吻别 2020-12-03 04:16

I have an internal class, an internal constructor won\'t allow it to be used in a generic collection so I changed it to public. What\'s the accessibility if you have a publi

5条回答
  •  遥遥无期
    2020-12-03 04:49

    Having an internal or public constructor to an internal type would be equivalent in terms of visibility.

提交回复
热议问题