1. Question: What is the default value of a decimal in C#?

    A
    0.0

    B
    0.0M

    C
    0

    D
    Null

    Note: Not available
    1. Report
  2. Question: Which type represents an unsigned 32-bit integer in C#?

    A
    byte

    B
    ushort

    C
    uint

    D
    ulong

    Note: Not available
    1. Report
  3. Question: What does float.NaN represent in C#?

    A
    Not an Integer

    B
    Null value

    C
    Infinity

    D
    Not a Number

    Note: Not available
    1. Report
  4. Question: What is the difference between int and uint?

    A
    int can hold decimal values

    B
    uint cannot be negative

    C
    uint is a 16-bit integer

    D
    They are the same

    Note: Not available
    1. Report
  5. Question: Which of the following represents a collection of bytes in C#?

    A
    List<byte>

    B
    Array

    C
    BitArray

    D
    byte[]

    Note: Not available
    1. Report
  6. Question: What keyword allows a variable's data type to be determined at runtime?

    A
    var

    B
    dynamic

    C
    object

    D
    any

    Note: Not available
    1. Report
  7. Question: Which of these is immutable in C#?

    A
    String

    B
    Array

    C
    List

    D
    List

    Note: Not available
    1. Report
  8. Question: Which data type can store the value of null without additional configuration?

    A
    int

    B
    string

    C
    bool

    D
    char

    Note: Not available
    1. Report
  9. Question: What is the size of a long type in C#?

    A
    4 bytes

    B
    8 bytes

    C
    16 bytes

    D
    2 bytes

    Note: Not available
    1. Report
  10. Question: Which type is most commonly used for currency calculations in C#?

    A
    float

    B
    decimal

    C
    double

    D
    int

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