.NET Fiddle

VbNet · Script

/Program.vb

Imports System
				
Public Module Module1
	
	
	Function Cat(Byval a as Integer, Byval b as Integer) as Integer ' Функция как Integer, как?
			Cat=a+b
			Return Cat
	End function
	
	
	
	
	Public Sub Main()
		
			Dim a as Integer =8
			Dim b as Integer =7
		Console.Writeline(Cat(a,b))
			
	End Sub
	
	
	
End Module
;