PrepAway - Latest Free Exam Questions & Answers

What action should you take?

You are employed as a developer at ABC.com. You make use of C# and ASP.NET for
development purposes.
You have been instructed to develop a new Windows application for ABC.com. You are in the
process of defining a new class. You want to make sure that code outside the assembly is
prevented from accessing the class. Code packaged in the same assembly should however have
the ability to access this class, regardless of whether they inherit directly or indirectly from the
class.
What action should you take?

PrepAway - Latest Free Exam Questions & Answers

A.
You should consider declaring the class using the public access modifier

B.
You should consider declaring the class using the void access modifier

C.
You should consider declaring the class using the private access modifier

D.
You should consider declaring the class using the string access modifier

One Comment on “What action should you take?


Leave a Reply