Quantcast
Channel: internal vs public in C# - Stack Overflow
Viewing all articles
Browse latest Browse all 9

Answer by Dr TJ for internal vs public in c#

$
0
0

internal is useful when you want to declare a member or type inside a DLL, not outside that...
normally, when you declare a member as Public you can access that from other DLLs. but, if you needed to declare something to be public just inside your class library, you can declare it as Internal.
in formal defenition: internal members are visible just inside the current assembly...


Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>