Lyle is writing some code in VB.NET and is implementing some build-in security. What type of
.NET security is Lyle using in the following code?
public class Myclass1
Public Sub New()
End Sub
Public Sub MyMethods()
Dim Perm As New MyPermission()
Perm.Demand()
End Sub
Pub Sub YourMethod()
End Sub
End Class
A.
Imperative security
B.
Explicit security
C.
Implicit security
D.
Declarative security
Explanation: