A
Atif
Hi
I am here to solve a small confusion i have in "Overloads Overrides".
"Overloading" says that the method's name should be same while no. of
parameters and/or their datatypes should be changed either in the same
class or inherited class. right?
"Overriding" says that the method's signature should be same(name,no.
of parameters and their datatypes) in the inherited class while
implementation may change. right?
How we can implement both of these all at the same time like
[Visual Basic.NET]
Overloads Overrides Public Sub DoSomething()
Here, if we change the signature we can't implement Overriding and if
we don't change signature then we can't implement Overloading BUT It
is happening. How?
Has VB.NET changed the concept of overloading and overriding or
I AM WRONG
: ?
Ref:
http://msdn.microsoft.com/library/d...ilerindentedtextwriterclasswritelinetopic.asp
Would someone make it clear how this is being done.
Thanks
I am here to solve a small confusion i have in "Overloads Overrides".
"Overloading" says that the method's name should be same while no. of
parameters and/or their datatypes should be changed either in the same
class or inherited class. right?
"Overriding" says that the method's signature should be same(name,no.
of parameters and their datatypes) in the inherited class while
implementation may change. right?
How we can implement both of these all at the same time like
[Visual Basic.NET]
Overloads Overrides Public Sub DoSomething()
Here, if we change the signature we can't implement Overriding and if
we don't change signature then we can't implement Overloading BUT It
is happening. How?
Has VB.NET changed the concept of overloading and overriding or
I AM WRONG

Ref:
http://msdn.microsoft.com/library/d...ilerindentedtextwriterclasswritelinetopic.asp
Would someone make it clear how this is being done.
Thanks