reference type in EXE?

This is a discussion on reference type in EXE? within the C# Programming forums, part of the General Programming Boards category; Hello everyone, We can refer and use another type in a C# DLL file, but can we refer and use ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    reference type in EXE?

    Hello everyone,


    We can refer and use another type in a C# DLL file, but can we refer and use another type in a C# EXE file (build as executable)?


    thanks in advance,
    George

  2. #2
    Registered User
    Join Date
    Apr 2008
    Location
    USA
    Posts
    22

    Question

    If you are talking about references from an executable to another executable from within a published C# executable the answer is yes.

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Sorry TheRaven, my English is not good. I mean "Add Reference..." function in Visual Studio 2008. :-)

    Answer is yes?

    Quote Originally Posted by TheRaven View Post
    If you are talking about references from an executable to another executable from within a published C# executable the answer is yes.

    regards,
    George

  4. #4
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    Why don't you try it?
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  5. #5
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    I have tried and we can. But since I am a newbie for C#, I am not quite confident that in this way it is correct, because all the samples I saw in reference in DLL. :-)


    Quote Originally Posted by Magos View Post
    Why don't you try it?

    regards,
    George

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do you resolve this error?
    By -EquinoX- in forum C Programming
    Replies: 32
    Last Post: 11-05-2008, 04:35 PM
  2. Undefined Reference Compiling Error
    By AlakaAlaki in forum C++ Programming
    Replies: 1
    Last Post: 06-27-2008, 12:45 PM
  3. failure to import external C libraries in C++ project
    By nocturna_gr in forum C++ Programming
    Replies: 3
    Last Post: 12-02-2007, 03:49 PM
  4. Strange/false errors
    By Ganoosh in forum Windows Programming
    Replies: 8
    Last Post: 10-20-2005, 05:54 PM
  5. How to: Use OpenGL with Jgrasp
    By Pickels in forum Game Programming
    Replies: 3
    Last Post: 08-30-2005, 11:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21