Curso 41 VB.NET Subs y Funciones


En este tutorial veremos la diferencia que hay entre los subs y las funciones .

Video Tutorial

Codigo Fuente

Public Class Form1 Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click MsgBox(nombre()) End Sub Public Function nombre() Return "ULISES" ' MsgBox("ULISES") End Function Public Sub nombre2() MsgBox("JUAN") End Sub End Class

Seguidores