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. Web Development
  3. ASP.NET
  4. Encapsulation

Encapsulation

Scheduled Pinned Locked Moved ASP.NET
htmloopquestion
4 Posts 3 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.
  • P Offline
    P Offline
    pankajgarg12
    wrote on last edited by
    #1

    Sir, My question is based on ensapsulation.I know the encapsulation(hiding the background details from the user). Now my question is when the website is uploaded .In the aspx page we can view only the html code .I mean vb file or .cs don't appear online.If we can't view the vb file or .cs file then what makes the encaplulation means . Thanks

    E 1 Reply Last reply
    0
    • P pankajgarg12

      Sir, My question is based on ensapsulation.I know the encapsulation(hiding the background details from the user). Now my question is when the website is uploaded .In the aspx page we can view only the html code .I mean vb file or .cs don't appear online.If we can't view the vb file or .cs file then what makes the encaplulation means . Thanks

      E Offline
      E Offline
      ednrgc
      wrote on last edited by
      #2

      I think you're confusing the role of the "user" here. The user would be the programmer that is using that class, not the end user.

      G 1 Reply Last reply
      0
      • E ednrgc

        I think you're confusing the role of the "user" here. The user would be the programmer that is using that class, not the end user.

        G Offline
        G Offline
        Guffa
        wrote on last edited by
        #3

        The "user" can also be another class. If class A is using class B, it only needs to know enough to use the class B, not everything that the class B contains.

        --- b { font-weight: normal; }

        E 1 Reply Last reply
        0
        • G Guffa

          The "user" can also be another class. If class A is using class B, it only needs to know enough to use the class B, not everything that the class B contains.

          --- b { font-weight: normal; }

          E Offline
          E Offline
          ednrgc
          wrote on last edited by
          #4

          I didnt want to confuse him. He seemed lost already :)

          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