Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 4 of 4

Thread: C# - Namespace

  1. #1
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default C# - Namespace

    Hi,
    After seeing Caleb's tutorial i've decided im gonna try and learn a bit of C#, and after looking through even more tutorials over the internet, i think ive fallen at the first hurdle..

    In one tutorial it talks about 'namespace'
    I was wondering whether anyone can help me out what this function actually does?

    Thanks
    Callum

    Moved by ReviewDude (Forum Moderator) from 'Coding & Programming'.
    Last edited by ReviewDude; 12-04-2009 at 11:29 AM.
    Back for a while

  2. #2
    Join Date
    Jul 2008
    Posts
    535
    Tokens
    75

  3. #3
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Quote Originally Posted by wsg14 View Post

    I tried, couldnt come up with anything.... and Thanks for the link ill check it out
    Back for a while

  4. #4
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Namespace isn't a function, it's a container.. like a class.

    The TehUpload app has a namespace: TehUpload, and in that namespace are multiple classes.

    Each class has to be named differently, and inside each of those classes.. it has to have unique named functions.

    It's basically a container.

    Namespace: TehUpload
    Classes: Uploading
    Functions: upload
    Functions: get_data
    Classes: Graphics
    Functions: get_screen

    I couldn't have more then one get_screen in "Graphics", just like I couldn't have more then one Graphics in TehUpload.

    You can in multiple namespaces though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •