Why is it not necessary to indicate ByVal/ByRef anymore?

It seems that this post covers your question: http://msmvps.com/blogs/carlosq/archive/2011/03/15/vs-2010-sp1-changing-quot-byval-quot-vb-net-code-editor-experience.aspx So no, there is no way to get the old behaviour. From now on ByVal is the default (what it was before) and it won’t get added automatically to the method parameters. In my opinion this is a good decision since it’s making VB.NET a bit … Read more

ByRef vs ByVal Clarification

I think you’re confusing the concept of references vs. value types and ByVal vs. ByRef. Even though their names are a bit misleading, they are orthogonal issues. ByVal in VB.NET means that a copy of the provided value will be sent to the function. For value types (Integer, Single, etc.) this will provide a shallow … Read more