Is there a reason why you have to specify variable names in interfaces. For example, look at the code below:
Public Class Class1
Public Function Test(ByVal j As Integer)
End Function End Class
Public Interface int1
Function Test(ByVal i As Integer)
End Interface
The integer in the class is named j, but it is named i in the interface. Why wouldn’t the interface be like this:
Public Interface int1
Function Test(Integer)
End Interface
I realise this is a basic question. I just find it curious.
At the very least, in 2.0, if the override didn’t match the interface signature, then you weren’t technically implementing it http://msdn.microsoft.com/en-us/library/ms182251(v=vs.80).aspx
I’m not sure about it nowadays. And as for why? I dunno. Are you coming from another language? If I recall right, other language header files only required the type in the signature but not a name.
Possible dupe of Why do we have to name interface method parameters? -this explains a couple other reasons that you might encounter.