Example is below
<script runat="server">
class student
public name as string
public age as integer
public function msg as string
return "my name is " & name & "my age is " & age
end function
end class
</script>
<%
Dim obj as new student
obj.name = "shahid"
obj.age = 25
Response.Write(obj.msg)
%>
all rights reseverd by Cramerz.com©. web development by
web design company
DotPeak. hosting by HostBay
all contents on cramerz are the property of Cramerz.com. web design courses