I have a dll that I only want certain classes to be exported. In C++, you can use the class __declspec(dllexport) ClassName … Is there a C# equivalent?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Mark the types/members that you want to be externally available as
public, and the things you don’t want to export as eitherinternal, or (where available – members and nested types)private. If unspecified, top-level classes default tointernal, and methods default toprivate.