Click here to Skip to main content
15,301,841 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how do i overload methods and constructors,can someone write a simple code to explain please!
Updated 17-Jan-21 18:27pm
Toli Cuturicu 20-Aug-10 6:53am
Reason for my vote of 1
I can't read documentation, poor me!

Perhaps use google first, lots of information available on this subject[^][^]

Quick example

public Test()

public Test(int someParam) : this()

public Test(int someParam, string anotherParam) : this(someParam)

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900