Which two code segments can you insert at line 05 to achieve this goal?

You are developing an application that generates code. The application includes the following code
segment. (Line numbers are included for reference only.)

You need to ensure that code generated by the GenerateCode() method represents a class that can
be accessed by all objects in its application domain.
Which two code segments can you insert at line 05 to achieve this goal? (Each correct answer
presents a complete solution. Choose two.)

You are developing an application that generates code. The application includes the following code
segment. (Line numbers are included for reference only.)

You need to ensure that code generated by the GenerateCode() method represents a class that can
be accessed by all objects in its application domain.
Which two code segments can you insert at line 05 to achieve this goal? (Each correct answer
presents a complete solution. Choose two.)

A.
Option A

B.
Option B

C.
Option C

D.
Option D



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Najlepszy Programista

Najlepszy Programista

WTF

Lord Vader

Lord Vader

has to b a typo
A and C

C.
ct.isclass=true //generates a class declaration

A.
after class is defined you need to add it to the TYPES collection of the namespace
ct.attrib=memberattrib.public

a little different syntax too