Practical2.Net
Practical2.Net
Namespace Employee
Public Class Department
Sub show()
MsgBox("Inside a user defined
namespace")
End Sub
End Class
End Namespace
Module Module1
Sub Main()
'Console.WriteLine("hello!")
'Console.WriteLine("my name is
shubhangi Andhale")
'Console.WriteLine("I am from
shevgoan,ahamednager")
'Console.WriteLine("my mobile no
is:9850244787")
'Console.WriteLine("I am sy student
now I am currently studing in computer
diploma from BSP in JSPM ")
'Console.Write("my first year
percentage is 92%")'
Dim obj1 As New Employee.Department
obj1.show()
Console.ReadLine()
End Sub
End Module
output: