What is the definition of "program" according to C#?

John Henckel

According to the C# spec 5.0 (sec 1.2)

The key organizational concepts in C# are programs, namespaces, types, members, and assemblies. C# programs consist of one or more source files. Programs declare types, which contain members and can be organized into namespaces. Classes and interfaces are examples of types. Fields, methods, properties, and events are examples of members. When C# programs are compiled, they are physically packaged into assemblies. Assemblies typically have the file extension .exe or .dll, depending on whether they implement applications or libraries.

But they never explain what a program is! Is a program the set of all source files that are used to create a single assembly? Or might a program be made up of several assemblies?

It matters because later the "program" is used to define other concepts, such as internal accessibility.

To Clarify: I'm asking, within the context of the C# 5.0 Specification, what is a "program"?

David L

Either or. Based on the above definition, a program is a concept rather than a physically defined boundary. As such, it could be a single dll or a large collection of assemblies.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Definition of a function in a C program

From Dev

What is the advantage of this C structure definition?

From Dev

What are the specifics of the definition of a string in C?

From Dev

What is the advantage of this C structure definition?

From Dev

What is error in this C program?

From Dev

Making a beginner C program to read and sort student according to ages

From Dev

What encompasses a function definition in C++?

From Dev

What is the definition of "arithmetic operation" in C99?

From Dev

What is the value of a variable definition operation in C++?

From Dev

What is the c++ equivalent of this class definition

From Dev

What encompasses a function definition in C++?

From Dev

C++ What is the difference between definition and instantiation?

From Dev

In a C# program, what is ThePreStub?

From Dev

What will be the output of following C program?

From Dev

explain what happened (C program)

From Dev

Compiling C program: Dynamical type definition leads to errors

From Dev

Get me to calculate displacement. I don't how what will be the formula according to this program

From Dev

According to memory allocation in program what is different between enum ,struct,union , classes, Interface and its relation between them

From Dev

What are the best ways to have a python program and c program share data

From Dev

What are the possible causes of "Abnormal Program Termination" error in a C Program?

From Dev

What's the definition of ++p where p is const char *p in C?

From Dev

What does variable definition do in control structure in c++?

From Dev

C - In what circumstances does the external declaration become a definition?

From Dev

What is the meaning of macro in front of class definition in c++

From Dev

What mistake am I making in the function definition(C)

From Dev

what is the meaning of _AX = 1000 in the following C program?

From Dev

C program to find average, what is wrong in code?

From Dev

What is this error for in my C++ program?

From Dev

What's wrong with the formatting in this C++ program?

Related Related

  1. 1

    Definition of a function in a C program

  2. 2

    What is the advantage of this C structure definition?

  3. 3

    What are the specifics of the definition of a string in C?

  4. 4

    What is the advantage of this C structure definition?

  5. 5

    What is error in this C program?

  6. 6

    Making a beginner C program to read and sort student according to ages

  7. 7

    What encompasses a function definition in C++?

  8. 8

    What is the definition of "arithmetic operation" in C99?

  9. 9

    What is the value of a variable definition operation in C++?

  10. 10

    What is the c++ equivalent of this class definition

  11. 11

    What encompasses a function definition in C++?

  12. 12

    C++ What is the difference between definition and instantiation?

  13. 13

    In a C# program, what is ThePreStub?

  14. 14

    What will be the output of following C program?

  15. 15

    explain what happened (C program)

  16. 16

    Compiling C program: Dynamical type definition leads to errors

  17. 17

    Get me to calculate displacement. I don't how what will be the formula according to this program

  18. 18

    According to memory allocation in program what is different between enum ,struct,union , classes, Interface and its relation between them

  19. 19

    What are the best ways to have a python program and c program share data

  20. 20

    What are the possible causes of "Abnormal Program Termination" error in a C Program?

  21. 21

    What's the definition of ++p where p is const char *p in C?

  22. 22

    What does variable definition do in control structure in c++?

  23. 23

    C - In what circumstances does the external declaration become a definition?

  24. 24

    What is the meaning of macro in front of class definition in c++

  25. 25

    What mistake am I making in the function definition(C)

  26. 26

    what is the meaning of _AX = 1000 in the following C program?

  27. 27

    C program to find average, what is wrong in code?

  28. 28

    What is this error for in my C++ program?

  29. 29

    What's wrong with the formatting in this C++ program?

HotTag

Archive