What do you know about C # P3 programming language?

C # is an object-oriented programming language developed by Microsoft, the start of their .NET plan. Please invite the Network Administrator to learn about this topic through the quiz below.

  1. Question 1: Indicate the results of the following program:
      struct ValType 

    {

    public int data;

    public static void Main ()

    {

    ValType v = new ValType ();

    Console.WriteLine (v.data);

    }

    }
    1. Compilation error
    2. Error running
    3. xrmh: 0
    4. Other results
  2. Question 2: Results of the following program section:
      struct ValType 

    {

    public int data;

    public ValType (int i)

    {

    data = i;

    }

    public static void Main ()

    {

    ValType v = new ValType ();

    Console.WriteLine (v.data);

    }

    }
    1. Compilation error
      1. xrmh: 0
    2. Other results
  3. Question 3: C # programming is developed by:
    1. Microsoft
    2. Apple
    3. Next
  4. Question 4: Does C # have multiple inheritance?
    1. Is not
    2. Have
  5. Question 5: Are there any types of comments in C #
    1. Annotate the line
    2. Annotate XML
    3. Both answers above
  6. Question 6: What is Jagged array in C #?
    1. Array
    2. Array of arrays
    3. Another answer
  7. Question 7: How many ways can you pass parameters to a method?
    1. 2
    2. 3
    3. 4
    4. 5
  8. Question 8: Can you return multiple values ​​from a function in C #?
    1. Have
    2. Is not
  9. Question 9: Can you assign a struct with null?
    1. Have
    2. Is not
  10. Question 10: Does .NET support inheriting from multiple classes?
    1. Have
    2. Is not

You've just finished reading the article "What do you know about C # P3 programming language?" edited by the TipsMake team. You can save what-do-you-know-about-c-p3-programming-language.pdf to your computer here to read later or print it out. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.

« PREV What do you know about C # P2 programming language?
NEXT » Test of programming C P5