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

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -