" public ForwardedPortLocal(uint boundPort, string host, uint port)
: this(string.Empty, boundPort, host, port)
{
}
"
Would it be better if you would do the following instead of above
public ForwardedPortlocal(string RHost, uint RPort)
{
ForwaredPortLocal(Port, RHost", RPort);
}
public ForwardedPortLocal(uint boundPort, string host, uint port)
{
ForwardedPortLocal("127.0.0.1", BoundPort, string host, uint Port);
}
The way you have it above producer Errors
Comments: ** Comment from web user: olegkap **
: this(string.Empty, boundPort, host, port)
{
}
"
Would it be better if you would do the following instead of above
public ForwardedPortlocal(string RHost, uint RPort)
{
ForwaredPortLocal(Port, RHost", RPort);
}
public ForwardedPortLocal(uint boundPort, string host, uint port)
{
ForwardedPortLocal("127.0.0.1", BoundPort, string host, uint Port);
}
The way you have it above producer Errors
Comments: ** Comment from web user: olegkap **
What error do you get?
Also,
The code you provided as an example is not valid C# code and does not compile.
You cannot call constructor from another constructor.
I will close this issue since this is not a bug.
Thanks,
Oleg