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() 为类的任何实例创建了这个内存非常昂贵的内容?