Sorry if this question is confusing. I have a public static class inside my project that I want accessible anywhere inside my application. However, I don't want this class exposed when someone else references my DLL in another project.
Is it possible to do this?
Many Thanks!
The write() function shall attempt to write nbyte bytes from the buffer pointed to by buf to the file associated with the open file descriptor, fildes.
The Visual Studio build tools include a C compiler that you can use to create everything from basic console programs to full Windows Desktop applications, mobile apps, and more.
use Internal classes as described in the link.
Use the internal modifier on the class instead of public. You can also make assembly:[InternalsVisibleTo("SomeOtherAssembly")]
if you want to make the class accessible to another specific DLL.
Please read C# documentation at MSDN or if you can read some good book about .net basics. You can specify internal
specifier to make class visible inside a namespace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With