.net - time spent in a subroutine passing variables in various ways -


in following examples (see public link) see without passing variable subroutine (variables declared public) time spent 0.53% (!) that spent passing variables both byval , byref. think first method absolutely inelegant. can me on problem?

all code needed calculate times different ways of passing variables available @ following link. try 3 methods it's necessary change position of comments. https://dl.dropboxusercontent.com/u/21404842/code.txt


Comments