class MyClass
{
public string MyProperty { get; set; }
public void MyMethod()
{
//Do something difficult here
//100500 lines of code here ...
}
}
Run Code Online (Sandbox Code Playgroud)
我们有很多例子MyClass.
CLR是否MyMethod() 为类的任何实例创建了这个内存非常昂贵的内容?
| 归档时间: |
|
| 查看次数: |
116 次 |
| 最近记录: |