What is a module in .NET?

前端 未结 4 1952
北荒
北荒 2020-11-27 15:58

What exactly is a module? What is the difference between a module, a class and a function? How can I access a module in C#?

I am asking this because I want to calcul

4条回答
  •  感动是毒
    2020-11-27 16:20

    A file

    That's what a module is.

    module: A single file containing content that can be executed by the VES
    

    (Where VES is a program which reads .NET assembly and converts it to machine code.) see http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-335.pdf Partition I page 16.

    --

    An assembly is coherent collection of files in the filesystem (modules). See http://msdn.microsoft.com/en-us/library/zst29sk2(vs.71).aspx

    Obviously class definitions are defined inside the file (module) itelf.

提交回复
热议问题