Re: Class Declaration

Discussion in 'ASP .Net' started by Kevin Spencer, Jul 15, 2003.

  1. What exactly are you asking?

    --
    HTH,

    Kevin Spencer
    ..Net Developer
    Microsoft MVP
    http://www.takempis.com
    Big things are made up
    of lots of little things

    "Jake s" <> wrote in message
    news:037101c34a60$68fb95a0$...
    > Hi all,
    >
    > I am trying to determin the best way to implement a class.
    >
    > When I declare a class for example a person class I will
    > develop it as follow:
    >
    > class personDetails()
    > public firstname as string
    >
    > end Class
    >
    > Class person()
    >
    > public function getDetails() as personDetails
    > dim objPersonDetails as PersonDetails
    > objPersonDetails.firstname = "Tom"
    > return objPersonDetails
    > end function
    >
    > end class
    >
    > Is this the best way to implement? Any feedback would be
    > great.
    >
    > Cheers Jake
     
    Kevin Spencer, Jul 15, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Noah
    Replies:
    5
    Views:
    962
  2. Alex Vinokur
    Replies:
    4
    Views:
    595
    Jonathan Turkanis
    Apr 5, 2004
  3. Ovidesvideo
    Replies:
    4
    Views:
    518
    Andrey Tarasevich
    Dec 10, 2004
  4. kelvSYC
    Replies:
    6
    Views:
    7,235
    Richard Herring
    May 17, 2005
  5. Replies:
    4
    Views:
    1,082
    Richard Tobin
    Dec 12, 2006
Loading...

Share This Page