I am interacting with Visual Basic code on a different tier, using a client-side C# program. The Visual Basic function signature looks like this:
Public Sub toggleExclusion( _
ByVal mouse As Double, _
ByVal study As Integer, _
Optional ByVal box As Integer = 0)
When I call this from C# as such:
_obj.toggleExclusion(mouse, study)
I get an error saying no overloaded method of toggleExclusion takes two arguments. Why?