我是随便我怎么会作出这样的设置文件夹设置为只读,如果到达上述尺寸A批处理文件 我走到这一步(1GB): @echo off
color 0b
set /p slimit=Set Max file size:
set /p location=Folder Directory:
cls
color 0a
:loop
echo Limiting File "%location%"
我要寻找的read-only property as list(of T) Public ReadOnly Property oList As List(Of String)
Get
Return ...
End Get
使用。当我通常使用名单(T)的一个例子,我总是用New构造函数在我的变量类型前面Public Property oList as New list(of T)
我有具有只读成员 class A
{
public static readonly Student student = new Student("StudentName");
}
和成员学生不深只读类,我可以 A.student.Name = "Another Name";
学生是一个第三方类,我不能改变。如何让它深度只读?