I have a class named CreateListView in my project in a .cs file and I am able to use it by including it’s namespace in my usings at the top of my page. Is there a way I can compile the file so that I can still use the class but users are not able to see the contents of the class. I want the users to still be able to create objects from that class but I don’t want them to modify it and it will also be better if they could not see it.
Share
You can put it in a separate project (Class Library), compile it as a DLL and give others the binary to use in their projects.