Which code segment should you use?

You are creating a console application by using C#.
You need to access the application assembly. Which code segment should you use?

You are creating a console application by using C#.
You need to access the application assembly. Which code segment should you use?

A.
Assembly.GetAssembly(this);

B.
This.GetType();

C.
Assembly.Load ();

D.
Assembly.GetExecutingAssembly ();



Leave a Reply 2

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