1. 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
  2. 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
  3. 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
  4. Question: Which of these is immutable in C#?

    A
    String

    B
    Array

    C
    List

    D
    List

    Note: Not available
    1. Report
  5. 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
  6. 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
  7. 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
  8. Question: What is the purpose of the object type in C#?

    A
    To represent all primitive types

    B
    To be the base class of all types

    C
    To create complex types only

    D
    None

    Note: Not available
    1. Report
  9. Question: What will be the result of 5/2 if both operands are integers?

    A
    2.5

    B
    2

    C
    2.0

    D
    Compilation error

    Note: Not available
    1. Report
  10. Question: Which of the following is a boxing operation in C#?

    A
    int i = 123; object o = i;

    B
    int i = (int)o;

    C
    float f = 12.5f;

    D
    string s = "text";

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