KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have been trying to figure out if there are any differences between these constructors. Assuming there is a Foo() constructor that takes no arguments, are all these constructors going to have the same result? Example 1 public Foo() : this() { blah; blah; blah; } Example 2 public Foo() { this(); blah; blah; blah; } Example 3 public Foo() { this = new Foo(); blah; blah; blah; }
Tags (comma-separated)
Save Edits
Cancel