Here it is.
Boss would like to involve in a VB.net project instead of C# .net. I had experience of using VB 5,6 when I was in university. It is a nice tool for rapid programming. And now, you can creating new project using some OO features like Class, Inheritance, overload, override. For me, VB.net is no difference with C# .net. Just like Java, enjoy it.
Module Module1
Sub Main()
Dim c As New Calc()
Dim ans As Integer = c.Add(10, 84)
Console.WriteLine("just kidding : {0}", ans)
End Sub
End Module
Public Class Calc
Public Function Add(ByVal x As Integer, ByVal y As Integer) As Integer
Return x + y
End Function
End Class
Comments
Post a Comment