Click here to Skip to main content
12,293,601 members (58,122 online)
Click here to Skip to main content
Articles » Languages » C# » General » Alternatives
Alternatives (1)
Add your own
alternative version

Tagged as


10 bookmarked

How to call an overloaded constructors in C#

, 15 Sep 2011 CPOL
A guide on how to call overload constructors in C#


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

20 Sep 2011
Robert Ludwig
All three of the Something methods could be replaced with a single definition of the form:public Something(string name = "default", index = -1){ myName = name; myIndex= index; DoStuff();}


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Program Manager
United Kingdom United Kingdom
No Biography provided

| | Privacy | Terms of Use | Mobile
Web01 | 2.8.160525.2 | Last Updated 15 Sep 2011
Article Copyright 2011 by Reiss
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid