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 ();
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 ();
D
D
https://msdn.microsoft.com/en-us/library/system.reflection.assembly.getexecutingassembly(v=vs.110).aspx