>if that's internal, you're good then. Go for it! :)
>but back to your original question, I'm not sure why VB's compiler isn't accepting that.... can you post some piece of the code (class definition and methods definition)?
Ok, it's the same as VB:
Private Function GetData(ByVal tcQuery As String, Optional ByVal tnProcess As Integer = 3) As String