basic_concepts_quiz.md - brainchildservices/curriculum GitHub Wiki

  1. Describe Application Startup in c# ?

    Application startup occurs when the execution environment calls a designated method, which is referred to as the application's entry point.

  2. What did entry point method called?

    Main

  3. List several signature of entry point method?

    • static void Main() {...}
    • static void Main(string[] args) {...}
    • static int Main() {...}
    • static int Main(string[] args) {...}
  4. Which type of value we use to terminate application?

    int value

  5. What control the excecution environment ?

    Application termination returns

  6. What happens when entry point method is void?

    which terminates that method, or executing a return statement that has no expression

  7. What is Declarations in a C# program ?

    Declarations in a C# program define the constituent elements of the program.

  8. Why we using namespaces ?

    Using Namespaces which can contain type declarations and nested namespace declarations.

  9. What is the uses of type declaration?

    Type declaration are used to define Classes, Structs, Interfaces, Enums & Delegates

⚠️ **GitHub.com Fallback** ⚠️