I am trying to convert Java libs to c# libs. I am stuck at a place and could not find any solution via googling. The issue is in c# Class Lib i want to write assembly load/init event handler, is it possible as in Java it seems is? In java the code is.
public class abc implements ServletContextListener {
public void contextInitialized(ServletContextEvent event) {
//do something
}
public void contextDestroyed(ServletContextEvent event) {
//do something
}
}
what would be its equivalent in c#?