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. How to get address of variable

How to get address of variable

Scheduled Pinned Locked Moved C#
csharptutorial
5 Posts 4 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.
  • L Offline
    L Offline
    levgiang
    wrote on last edited by
    #1

    How to get address of variable in C# not use unsafe code. le van giang

    D G 2 Replies Last reply
    0
    • L levgiang

      How to get address of variable in C# not use unsafe code. le van giang

      D Offline
      D Offline
      Dario Solera
      wrote on last edited by
      #2

      simply you cannot. [ITA] Tozzi ha ragione: Gaia si sta liberando di noi. [ENG] Tozzi is right: Gaia is obliterating us.

      1 Reply Last reply
      0
      • L levgiang

        How to get address of variable in C# not use unsafe code. le van giang

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

        You can't. As there is nothing you could use that address for in safe mode, there is no reason to have the functionality to get it in safe mode. How do you plan to use it? --- b { font-weight: normal; } -- modified at 13:29 Sunday 28th August, 2005 Changed unsafe to safe in my post, as that was what I meant.

        L 1 Reply Last reply
        0
        • G Guffa

          You can't. As there is nothing you could use that address for in safe mode, there is no reason to have the functionality to get it in safe mode. How do you plan to use it? --- b { font-weight: normal; } -- modified at 13:29 Sunday 28th August, 2005 Changed unsafe to safe in my post, as that was what I meant.

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          Guffa wrote: As there is nothing you could use that address for in unsafe more, there is no reason to have the functionality to get it in unsafe mode. I assume you actually mean the opposite... :confused: xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots

          G 1 Reply Last reply
          0
          • L leppie

            Guffa wrote: As there is nothing you could use that address for in unsafe more, there is no reason to have the functionality to get it in unsafe mode. I assume you actually mean the opposite... :confused: xacc-ide 0.0.15 now with C#, MSIL, C, XML, ASP.NET, Nemerle, MyXaml and HLSL coloring - Screenshots

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

            You assume absolutely correct. I modified the post to reflect my original intention. --- b { font-weight: normal; }

            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