how to start a C# program from a C program ???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Amera
    New Member
    • Dec 2009
    • 29

    how to start a C# program from a C program ???

    hello,

    I have a C# program.how can i make it run from a C program ??
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    C# is a oop but C is a structure oriented programming language. What you can do is implement the logic into C. But say if you want to change a window base program or database related program you would have to work lot....

    Comment

    • weaknessforcats
      Recognized Expert Expert
      • Mar 2007
      • 9214

      #3
      You will need to start the C# CLR from your C program.

      When you do this you can pass the name of a C# class that has a main() method to start the C# program.

      Comment

      • Amera
        New Member
        • Dec 2009
        • 29

        #4
        i'm sorry but i didn't understand well.

        Comment

        • weaknessforcats
          Recognized Expert Expert
          • Mar 2007
          • 9214

          #5
          If you have a C# program you need the CLR to execute it.

          I would research MSDN for this.

          Comment

          • johny10151981
            Top Contributor
            • Jan 2010
            • 1059

            #6
            I dont understand right now what I have answered. I even can recall I was drunk.

            Wired

            Comment

            • Amera
              New Member
              • Dec 2009
              • 29

              #7
              ok , i got it.
              i'll look in MSDN.

              Comment

              Working...