c# - Is this a type of polymorphism in object-oriented programming? -
static void main(string[] args) { string str = "abc"; str += "xyz"; console.writeline(str); }
here += type of polymorphism?
this operator overloading, not polymorphism, in case string concatenation. can find more information on operator overloading @ location: msdn link operator overloading
Comments
Post a Comment