' Visual Basic 2008 9.0 .NET Examples - Arguments - ByVal and ByRef - Procedures and Functions : Module Example6 Sub Main() ShowSum(1, 2) ' Console.WriteLine() End Sub Sub ShowSum(ByVal value1 As Integer, ByVal value2 As Integer) Console.WriteLine(value1 + value2) End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.