For Each i As Integer In nums. Sum += i. Next End Function ' Or use Return statement like C# Dim total As Integer = Sum(4, 3, 2, ...
確定! 回上一頁