Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. creating a Class without specifying any namespace??

creating a Class without specifying any namespace??

Scheduled Pinned Locked Moved .NET (Core and Framework)
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rahithi
    wrote on last edited by
    #1

    hi all, is it possible to create a Class without specifying any namespace?? thanks, rahi

    If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

    D 1 Reply Last reply
    0
    • R Rahithi

      hi all, is it possible to create a Class without specifying any namespace?? thanks, rahi

      If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      No, you can't. The default namespace, if you don't specify one would be the name of your Project, I think, or possibly the Solution. I can't remember.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      R 1 Reply Last reply
      0
      • D Dave Kreskowiak

        No, you can't. The default namespace, if you don't specify one would be the name of your Project, I think, or possibly the Solution. I can't remember.

        Dave Kreskowiak Microsoft MVP - Visual Basic

        R Offline
        R Offline
        Rahithi
        wrote on last edited by
        #3

        Thanks Dave for the response!

        If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups