Calling Method from App_Code RRS feed

  • Question

  • User489685533 posted

    Dear All,

    I have method that exisit in APP_CODE class   and I want to call it from Class Library what is the best way to do that

    Any help ?

    Thank you

    Monday, March 26, 2012 4:21 AM


  • User162050988 posted

    Make the method public. If the method is static the call it using namespace.class.method() or if that method is non-static the create an instance of namespace.class and then instance.method().

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, March 26, 2012 4:31 AM