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. C#
  4. Generic in ASP.NET 2.0

Generic in ASP.NET 2.0

Scheduled Pinned Locked Moved C#
questioncsharpasp-net
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.
  • A Offline
    A Offline
    adilkazmi
    wrote on last edited by
    #1

    what is Generic in ASP.NET 2.0 and what are it's advantages. Can anybody provide me a good article on this topic or make me understand??

    adil kazmi

    M 1 Reply Last reply
    0
    • A adilkazmi

      what is Generic in ASP.NET 2.0 and what are it's advantages. Can anybody provide me a good article on this topic or make me understand??

      adil kazmi

      M Offline
      M Offline
      Michael Sync
      wrote on last edited by
      #2

      You can read here. The way I understand is that Generics save the cost of boxing and unboxing expenses. Generics can set the constrains to a particular things. Please let me know if i'm in wrong way. Thanks.

      Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

      A D 2 Replies Last reply
      0
      • M Michael Sync

        You can read here. The way I understand is that Generics save the cost of boxing and unboxing expenses. Generics can set the constrains to a particular things. Please let me know if i'm in wrong way. Thanks.

        Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

        A Offline
        A Offline
        adilkazmi
        wrote on last edited by
        #3

        Thanks a lot Michael for your help. I'll check it out and let you know the feedback. Thanks again.

        adil kazmi

        1 Reply Last reply
        0
        • M Michael Sync

          You can read here. The way I understand is that Generics save the cost of boxing and unboxing expenses. Generics can set the constrains to a particular things. Please let me know if i'm in wrong way. Thanks.

          Thanks and Regards, Michael Sync ( Blog: http://michaelsync.net)

          D Offline
          D Offline
          DavidNohejl
          wrote on last edited by
          #4

          Michael Sync wrote:

          Please let me know if i'm in wrong way.

          No, you are right. Btw, generics can be used for more things, see http://blogs.msdn.com/kcwalina/archive/2007/06/07/GenericMethodsAsCasts.aspx[^] for some (there is interesting comment as well).


          "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus "Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

          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