Click here to Skip to main content
12,829,103 members (44,040 online)
Click here to Skip to main content
Articles » Languages » C# » General » Alternatives
Alternatives (1)
Add your own
alternative version

Tagged as


10 bookmarked
Posted 15 Sep 2011

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
Web02 | 2.8.170326.1 | Last Updated 15 Sep 2011
Article Copyright 2011 by Reiss
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid