using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Permissions;
class Program {
staticvoid Main(string[] args) {
MyClass.Method();
}
}
[FileIOPermission(SecurityAction.Assert, Read = "C:/")]
class MyClass {
publicstaticvoid Method() {
// implementation goes here
}
}