software
software

Reputation: 728

Calling a shared function to another class in vb.net?

How to call a shared function in one class to another class , here is my code,

Imports System.Web.UI

Public Class functest
    Public Shared Function callthis(source as object, args as event)
      'code goes here
    End Function
End Class

I have to call "callthis" function in an another class. How can i do it?

Upvotes: 2

Views: 21279

Answers (1)

Konrad Rudolph
Konrad Rudolph

Reputation: 545508

functest.callthis(something, something_else)

Upvotes: 9

Related Questions