I have 2 subs in my class. I need to use the values in the variables in the first sub in my second sub. like this.

Public sub test1()

Dim one as double = 12
Dim two as double = 10

end sub

Public sub test2()

Dim three as double = test1.one
Dim four as double = test1.two

end sub

But I do not remember how to do it.

you can do it like that

Public Class myclasss
    Property one As Double
    Property two As Double

    Sub test1
        one = 12
        two = 10
    End Sub
    Sub test2
        Dim three As Double = one
        Dim four As Double = two
    End Sub
End Class