IDisposable Question

前端 未结 8 1660
野的像风
野的像风 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:32

    IDisposable has one member, Dispose().

    This is called when you choose to call it. Most typically that's done for you by the framework with the using block syntactic sugar.

提交回复
热议问题