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. What is an Inline Procedure ?

What is an Inline Procedure ?

Scheduled Pinned Locked Moved C#
question
5 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.
  • M Offline
    M Offline
    MarkPhB
    wrote on last edited by
    #1

    Can anyone explain me what an inline procedure is ?

    C 1 Reply Last reply
    0
    • M MarkPhB

      Can anyone explain me what an inline procedure is ?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I didn't think there was such a thing in C#. In C+, inline is a compiler suggestion.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      E 1 Reply Last reply
      0
      • C Christian Graus

        I didn't think there was such a thing in C#. In C+, inline is a compiler suggestion.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        E Offline
        E Offline
        Ed Poore
        wrote on last edited by
        #3

        Christian Graus wrote:

        I didn't think there was such a thing in C#

        There is but you have no control over it, it's something that the JIT compiler does if it deems it necessary.


        My Blog

        C 1 Reply Last reply
        0
        • E Ed Poore

          Christian Graus wrote:

          I didn't think there was such a thing in C#

          There is but you have no control over it, it's something that the JIT compiler does if it deems it necessary.


          My Blog

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Just like C++ then ? :P

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          E 1 Reply Last reply
          0
          • C Christian Graus

            Just like C++ then ? :P

            Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

            E Offline
            E Offline
            Ed Poore
            wrote on last edited by
            #5

            Yep :-D, I'm not even sure you can find out when it's been JITted, I remember someone a few years ago having real trouble tracking down a bug and it was eventually sussed out that the method had been inlined.  This might have been in a beta version though.


            My Blog

            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