What do you know about C # P3 programming language?

  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
4 ★ | 1 Vote

May be interested

  • What do you know about C # P2 programming language?Photo of What do you know about C # P2 programming language?
    please read the knowledge with multiple choice questions around our c # programming topic below. the question set will have 10 sentences, 4 answers each and you should choose the correct answer.
  • What do you know about programming language C # P1Photo of What do you know about programming language C # P1
    c # programming language is developed based on c and c ++ programming languages. in the article below, network administrator will go with you to learn about c # programming language through multiple choice questions. let's start.
  • Multiple choice questions P2 web designPhoto of Multiple choice questions P2 web design
    currently web design is more and more interested, because a beautiful and lively website can attract many interested people. in this article, network administrators will not give articles but instead multiple choice questions related to this topic, please consult.
  • PowerPoint informatics test P5Photo of PowerPoint informatics test P5
    to make your presentation more interesting and new, tools like powerpoint will help you a lot. in this article, network administrator will learn with you about this tool through the following extremely interesting multiple choice questions.
  • PowerPoint informatics test P6Photo of PowerPoint informatics test P6
    to create an impression for a presentation with listeners, in addition to good content, beautiful powerpoint slides will help you a lot. in this article, network administrator will send a set of multiple choice questions about powerpoint.
  • Multiple choice questions about Photoshop P5Photo of Multiple choice questions about Photoshop P5
    photoshop is the most powerful and powerful image editing and editing software available today. in this article, network administrators will learn about how to use this software through extremely interesting multiple choice questions below.