IDisposable Question

前端 未结 8 1663
野的像风
野的像风 2021-01-11 18:35

Say I have the following:

public abstract class ControlLimitBase : IDisposable 
{
}

public abstract class UpperAlarmLimit : ControlLimitBase 
{
}

public cl         


        
8条回答
  •  暖寄归人
    2021-01-11 19:11

    1. When someone calls .Dispose on it.
    2. No, it already implements it through inheritance.

提交回复
热议问题