Dr Herbie wrote:

I would see

new object().SomeMethod()

as a 'smell' indicating that SomeMethod should be static ...

Herbie



Can this even be done in VB.NET?

I'm trying to convert some sample code from c# that says:

New Application().run(f)

But that doesnt' work in VB.NET.  Is there an equivalant?