Webeks.net - freelance programming
freelance programming - php, Joomla, Zend ...
Home :: Articles :: Programming :: Programming :: How to override methods in dotNet C#

How to override methods in dotNet C#

Written by Miha
Sometimes it is useful to override default methods. One of the most commonly overridden is method ToString().

public override String ToString()
{
return "I want my own string representation of this object!";
}

blog comments powered by Disqus