开发者

Is there OnLoad event for C# libraries?

I want to initialize my C# library as it loads by another process, is it possible开发者_StackOverflow中文版 and if so - how?


No.

Instead, you can add a static constructor to your class, which will execute the first time that the class is used.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜