1. Question: .NET Framework consists of a run-time called the

    A
    Common Language Runtime

    B
    Intermediate Language Runtime

    C
    Virtual Machine Runtime

    D
    all

    Note: Not available
    1. Report
  2. Question: Managed code is packaged into an assembly, in the form of either

    A
    an executable file (.exe)

    B
    a library (.dll) , along with time information, or metadata

    C
    folders and code

    D
    files and folder

    Note: Not available
    1. Report
  3. Question: C# syntax is based on

    A
    C and C++

    B
    Java

    C
    PHP

    D
    C

    Note: Not available
    1. Report
  4. Question: To produce a library (.dll) from your C# source code we usually do with the C# compiler as

    A
    c# target:lib sourceFile.cs

    B
    csc /target:library sourceFile.cs

    C
    csc target:dll sourceFile.cs

    D
    csc target:library sourceFile.cs

    Note: Not available
    1. Report
  5. Question: Identifiers are names that programmers choose for their

    A
    classes

    B
    methods

    C
    variables

    D
    namespaces

    Note: Not available
    1. Report
  6. Question: Which of the following is not an identifier in C#?

    A
    void

    B
    x

    C
    getName

    D
    vcampus

    Note: Not available
    1. Report
  7. Question: Which of the following are C# keywords?

    A
    unchecked

    B
    function

    C
    lock

    D
    readonly

    E
    construct

    Note: Not available
    1. Report
  8. Question: Which of the following are legal identifiers in C#?

    A
    in

    B
    var

    C
    on

    D
    @class

    E
    none

    Note: Not available
    1. Report
  9. Question: You can add comments in C# source code as:

    A
    # Your comment

    B
    // Your comment

    C
    /* Your comment */

    D
    /* Your comment

    E
    <!-- Your comment -->

    Note: Not available
    1. Report
  10. Question: What is the extension of a C# source code file?

    A
    .cs

    B
    .csharp

    C
    .C#

    D
    .cpl

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd