none
c# dll lib RRS feed

  • Question

  • Hi
    Everyone i am a new c# program user
    i want to learn about(crear or apply) c# dll and lib
    what kind of book should i read and then more know  dll and lib?
    thanks
    Sunday, February 16, 2020 1:47 AM

Answers

  • There are many kinds of DLLS. You need to learn more about DLLs.

    If you want to develop a DLL using C# then you must create a .Net Class Library and they do not use lib files; at least we never know about them.

    If you want to create a DLL that uses a lib file then you need to learn C++ or C.



    Sam Hobbs
    SimpleSamples.Info

    Sunday, February 16, 2020 6:12 PM

All replies

  • Using a DLL to me is about SoC.

    https://en.wikipedia.org/wiki/Separation_of_concerns

    A classic example of SoC via the usage of DLL(s) are in the below tutorial.  

    https://www.codeproject.com/Articles/36847/Three-Layer-Architecture-in-C-NET-2

    You'll see SoC and DLL(s) come into play in the above 3 tier solution and also .NET namespaces such as System and others and along with 3rd party frameworks are DLL(s).

     

    Sunday, February 16, 2020 5:17 AM
  • You can read the docs, like :

    Build a .NET Standard library in Visual Studio

    • Proposed as answer by ThankfulHeart Monday, February 17, 2020 6:14 AM
    Sunday, February 16, 2020 10:04 AM
  • There are many kinds of DLLS. You need to learn more about DLLs.

    If you want to develop a DLL using C# then you must create a .Net Class Library and they do not use lib files; at least we never know about them.

    If you want to create a DLL that uses a lib file then you need to learn C++ or C.



    Sam Hobbs
    SimpleSamples.Info

    Sunday, February 16, 2020 6:12 PM
  • Your question is too vague.  In C# you don't often talk about DLLs and LIBs.  You deal with C# assemblies.  An assembly can be housed in a file with a DLL extension.

    Have you chosen some particular project?  You can't really learn anything useful about assemblies and DLLs without having some small project to solve.


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Sunday, February 16, 2020 7:39 PM
  • You deal with C# assemblies.

    For the benefit of others note that when we create a Visual Studio project that creates a .Net DLL the project is called a Class Library project.


    Sam Hobbs
    SimpleSamples.Info

    Sunday, February 16, 2020 9:36 PM
  • thanks
    Monday, February 17, 2020 5:28 AM
  • okay thanks
    Monday, February 17, 2020 5:35 AM
  • Hi steven,

    Has your problem been solved?

    If so, please click "Mark as answer" to the appropriate answer, so that it will help other members to find the solution quickly if they face a similar issue.

    Best Regards,

    Timon


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, February 17, 2020 10:06 AM
  • thanks
    Monday, February 17, 2020 1:13 PM
  • thanks
    Monday, February 17, 2020 1:13 PM
  • Mark the answer giving the  MSDN link

    to find it more easily

    • Edited by valat Monday, February 17, 2020 1:41 PM
    Monday, February 17, 2020 1:40 PM