Dim student as Student = New Student() With {.StudentID = 1, .StudentName = "John", .Age = 13}
Dim isYoungerThan = Function(s, youngAge) s.Age >= youngAge
Console.WriteLine(isYoungerThan(student, 25))
Private _studentID As integer
Private _studentName As string
Property StudentID() As integer
Set(ByVal Value As integer)
Property StudentName() As string
Set(ByVal Value As string)
Property Age() As integer
Set(ByVal Value As integer)