[2.0] give the difference?
HI to all,
I encountered this type of coding and Im not familiar with this one. I read the MSDN but I could not get the idea. This is the reason I'm posting this one in the forums hoping someone can help save me to understand and if posible please describe or discuss this literally and please provide a sample.
Code:
[assembly:FileIOPermissionAttribute(SecurityAction.RequestOptional, Read=@"C:\boot.ini")]
versus
Code:
[assembly:FileIOPermissionAttribute(SecurityAction.RequestMinimum, Read=@"C:\boot.ini")]
and also Demand vs Assert?
thanks,
Popskie
Re: [2.0] give the difference?
What is it you don't exactly understand? Are you wondering about the minor syntactical difference in the two lines or simply the syntax of them both in general?