Constructor chaining in VB.NET?
I came across some C# code today where a constructor had a few overloads, all of which contained about 10 lines of the exact same initialization code (for private members). The only difference was that some of the constructors allowed you to pass in values for some of the properties. I refactored the code to use constructor chaining, for example:
class Foo
{
public Foo()
{
\\ initialization code
}
public Foo(string bar):this()
{
this.bar = bar;
}
}
After doing this I was curious how I might do this in VB.NET. I consider myself pretty good with search tools like Google, but, I couldn't find any resources that explained how to perform constructor chaining in VB.NET. Is it possible? If so, how?