can’t call a sub from class added to my project

I’ve tried the following method to call a function from another class file in my project. The class is  as follows:

Public Class Class1

    Public Sub AddTwoValues(ByVal One As Int32, ByVal Two As Int32)

        MsgBox(One + Two)

    End Sub

End Class

When I try and use the sub in the program it doesn’t show in the Intellisense and I get an error message. In the main when I type 

Class1. I get no AddTwoValues in the inttelisense. What am I doing wrong. It works for a module

 

Two choices:1) You can make the class  shared:PublicClass Class1