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?
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
Access prevented outside the assembly but allowed inside the assembly: internal access modifier!